Re: [R] bwplot colours

2003-08-07 Thread Prof Brian Ripley
Only by having your own modified version of panel.bwplot, which contains box.dot - trellis.par.get(box.dot) box.rectangle - trellis.par.get(box.rectangle) box.umbrella - trellis.par.get(box.umbrella) plot.symbol - trellis.par.get(plot.symbol) On Tue, 5 Aug 2003, Federico Calboli

Re: [R] installing add-on packages on OS X

2003-08-07 Thread Prof Brian Ripley
On Thu, 7 Aug 2003, Philippe Glaziou wrote: mpie [EMAIL PROTECTED] wrote: This is probably a stupid question, but since I'm a newbie on R, here it goes. I got R 1.6.2 running on OS 10.1.5 and I'm trying to install an add-on package. I couldn't find info on installing this in a mac.

[R] How to copy and paste a R plot onto Word (or Power Point)

2003-08-07 Thread Yao, Minghua
All, Anybody can tell how to export a R plot onto Word (or Power Point)? Many thanks in advance. -MY __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] Re: www.acd.ucar.edu mailing list memberships reminder

2003-08-07 Thread Daniel Bayard
how do you add x and y error bars on a plot. thanks daniel __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] Filtering Time Series / apply STL method

2003-08-07 Thread Jan Verbesselt
Dear R Helpers, Which technique can I apply to get the noise out of the following graph? The data displayed shows the seasonal variation of NDVI (vegetation photosynthesis) extracted from the VEGETATION satellite sensor. It contains big errors caused by cloud cover, which gives very low values

Re: [R] Select intervals of values from a variables.

2003-08-07 Thread Prof Brian Ripley
Is varx[varx lower.limit varx upper.limit] what you are looking for? On Thu, 7 Aug 2003, Michele Grassi wrote: How can i select interval of values from a variables? I can ordinate my variable and use es.group1-varx[1:12] if the limit values are linked to first and 12th observation. --

Re: [R] Re: www.acd.ucar.edu mailing list memberships reminder

2003-08-07 Thread Philippe Glaziou
I [EMAIL PROTECTED] wrote: Daniel Bayard [EMAIL PROTECTED] wrote: how do you add x and y error bars on a plot. Have queried the search engine? help.search(error bar) Well, I would have been more helpful if I had indicated that error bars are dealt with in the Hmisc and gregmisc

Re: [R] ginv vs. solve

2003-08-07 Thread Torsten Hothorn
Why do x-b%*%ginv(A) and x-solve(A,b) give different results?. they do (in cases the solution to A x = b is unique): R A - matrix(c(0,-4,4,0),nrow=2,ncol=2) R A [,1] [,2] [1,]04 [2,] -40 R b - c(-16,0) R x1 - ginv(A) %*% b - NOT b %*% ginv(A) R x1 [,1] [1,]

[R] graph for selected lines in stars()

2003-08-07 Thread Tito de Morais Luis
Dear listers, The following command (derived from the example in the ?stars help page) works : data(mtcars) stars(mtcars[, 1:7]) But the following gives an error: stars(mtcars[1, 1:7]) Error in s.y[i, ] : incorrect number of dimensions I was expecting to have the star graph for the first line

Re: [R] Plot ticks and tick labels: thickness, colour?

2003-08-07 Thread Dirk Eddelbuettel
On Thu, Aug 07, 2003 at 07:24:23AM +0100, Prof Brian Ripley wrote: I think there is no disagreement in the help, but your experience does disagree with my experiments. font: font for text. col: color for the axis line and the tick marks. The default 'NULL' means to use

Re: [R] Plot ticks and tick labels: thickness, colour?

2003-08-07 Thread Dirk Eddelbuettel
Marc, Thanks a lot -- the axTicks(), segments() and mtext() solution looks like what I was looking for. Regards, Dirk -- Those are my principles, and if you don't like them... well, I have others. -- Groucho Marx

[R] predict(lm(etc.),some_data) - numeric envir arg not of length one ???

2003-08-07 Thread Bruce LaZerte
I've got a data frame with two numeric variables, df$flow and df$flow1. tl - lm(flow~flow1,df,na.action=na.exclude) tlo - loess(flow~flow1,df,na.action=na.exclude) Both loess and a simple linear model fit the data well. summary(tl) and summary(tlo) seem reasonable. As do plots such as:

Re: [R] Strange predicted values ?

2003-08-07 Thread orkun
Prof Brian Ripley wrote: On Thu, 7 Aug 2003, orkun wrote: [quoting me without attribution] Those are not predicted values, they are fitted values. Try predicting on the same set of variables as you printed. Precisely! From ?predict.glm newdata: optionally, a new data frame from

Re: [R] leverage

2003-08-07 Thread Thomas Lumley
On Wed, 6 Aug 2003, jane murray wrote: Hi Can anyone help with the technique of obtaining leverages from a conditional logistic regression model? The code lm.influence does not seem to work for this data. If you use method=approximate you can get delta-betas (`influence' rather than

Re: [R] Slight problem in sort

2003-08-07 Thread Marc Schwartz
On Wed, 2003-08-06 at 16:21, Frank E Harrell Jr wrote: In platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major1 minor7.1 year 2003 month06

Re: [R] abline() plot order

2003-08-07 Thread Al Piszcz
Marc: I am interested in having only 'y' or 'x' axis tick bars light gray across graph. I did not realize there was a barplot2, thank you. I used your second technique (add=TRUE) and it works! Thank you very much for the speed of reply and quality of the options. The plot looks very good with

[R] abline() plot order

2003-08-07 Thread Al Piszcz
I am performing this sequence barplot title legend abline When abline renders the lines they appare to be in the layer above the bars in the graph. Is there a way to make them render first or 'behind' the bars? Thanks. __ [EMAIL PROTECTED] mailing

[R] Statistical analysis of huge datasets.

2003-08-07 Thread Carlos J. Gil Bellosta
Dear R-users, I am faced with the problem of analyzing a huge dataset (+ 2 million records, +150 variables) which does not fit into memory. I would like to know if there are pre-packaged tools (in the spirit of Insigthful I-Miner, for instance) aimed at subsampling or splitting the dataset

Re: [R] Slight problem in sort

2003-08-07 Thread Frank E Harrell Jr
Thanks to all who clarified this for me. The documentation is clear once I read it carefully. Frank On Wed, 06 Aug 2003 16:41:23 -0500 Marc Schwartz [EMAIL PROTECTED] wrote: On Wed, 2003-08-06 at 16:38, Marc Schwartz wrote: On Wed, 2003-08-06 at 16:21, Frank E Harrell Jr wrote: In

Re: [R] Statistical analysis of huge datasets.

2003-08-07 Thread TyagiAnupam
One possibility is to use a DBMS like MySQL or Postgresql, and RODBC to connect to these. Search the archives for previous postings about these, have a look at the first R-Newsletter and at Data Import-Export manual. In a message dated 8/7/03 1:26:20 PM Eastern Daylight Time, [EMAIL PROTECTED]

Re: [R] (no subject)

2003-08-07 Thread Uwe Ligges
Nolwenn Le Meur wrote: Hi everybody, Hope your are not all on holyday because I've got a problem that is going to drive me crazy... No comment on that sentence, but please use the subject line I would like to remove some rows from a dataframe. The rows correspond to some specific indexes

Re: [R] (no subject)

2003-08-07 Thread Prof Brian Ripley
data[-indexZZ,] as grep returns indices of the matching rows. On Wed, 6 Aug 2003, Nolwenn Le Meur wrote: Hi everybody, Hope your are not all on holyday because I've got a problem that is going to drive me crazy... Reading the documentation would avoid that! I would like to remove some

[R] Problem with filled.contour

2003-08-07 Thread Jose Pedro Granadeiro
Dear all, I am producing a set of level plot using filled.contour(). I am struggling with two problem (I have searched the archives and FAQ, but did not find any cues on these issues): 1. Given that several plots share the same range of levels, is there any (simple enough...) way to avoid

Re: [R] Strange predicted values ?

2003-08-07 Thread Prof Brian Ripley
Let me remind you that originally you did not understand why the fitted values did not match up with some other set of values of var1 to var4 you cbind-ed. You need to predict at those values for what *you* did not to be `strange'. Please do as I suggested and consult the documentation. On

Re: [R] gregmisc

2003-08-07 Thread atsuya fujito
I did library library(gregmisc) Error in library(MASS) : There is no package called 'MASS' Error in library(gregmisc) : .First.lib failed What is wrong? You have to *load* the package too, not just install it. 'library(gregmisc)' will load it On Thu, 7 Aug 2003, atsuya fujito wrote: Hi