Re: [R] lm(), na.exclude and predict()

2003-08-09 Thread Prof Brian Ripley
On Fri, 8 Aug 2003, Nurnberg-LaZerte wrote: I'm trying to get predict.lm() to return an NA for each NA row in it's input vector, so the output is the same length as the input. Don't call predict.lm directly, please. Use predict(). I thought that using na.action=na.exclude with lm() would do

[R] Lattice graphs and legend

2003-08-09 Thread Christian Mora
Dear all, I'm working with grouped data using the nlme package in R. By using the function plot() I'm trying to obtain a trellis-like graph but by default a legend is placed on top of the plot. How can I remove this legend? Thanks for any hint Christian Mora __

[R] R2HTML

2003-08-09 Thread Ronaldo Reis Jr.
Hi, I try to use R2HTML to make output. It is very good for this. I have this HTML output: -- HTMLStart(HTMLframe=F,echo=T) - as.title(Comment one) Comment one summary(1) Table of the summary 1 here as.title(Comment two) Comment two summary(2) Table of

Re: [R] demo() function returns alphabetical matches, not uniquematches?

2003-08-09 Thread Prof Brian Ripley
Actually, demo matches the `topic' as a regular expression, that is anywhere in the file basename and with certain characters being special. So demo(^logit) will probably work (it does work for the system demos). Clearly that is too sopisticated (and not documented). For the next release I

Re: [R] ^ operation much slower in R 1.7.1 than in R 1.7.0 ???

2003-08-09 Thread Patrick Connolly
On Mon, 04-Aug-2003 at 09:28AM -0700, Thomas Lumley wrote: | On 4 Aug 2003, Peter Dalgaard BSA wrote: | | | Hmm, on linux, I get approx 0.31 for the first example with 1.7.0, | 1.7.1, r-patched, and r-devel. Similarly, I get 0.8 for the second ex. | in all four cases. | | | I also find a

Re: [R] probability plot correlation coefficient

2003-08-09 Thread kjetil brinchmann halvorsen
On 6 Aug 2003 at 19:58, anne wrote: It is not very clear what you want. For fitting distributions like you mentiones, the easiest way for you is maximum likelihood via fitdistr() in package MASS: library(MASS) ?fitdistr x - rweibull(100, shape=3, scale=2) fitdistr(x, dweibull,

Re: [R] R and RMySQL - segmentation fault

2003-08-09 Thread Matthew.Kelly
Hi, I have the same problem and have attempted to look through the list and find a reply with the answer but could not seem to find one. My problem seems slightly more confusing. If I and running R as root, the following works library(RMySQL) m - dbDriver(MySQL) con -

[R] Standard error of standard deviation: bootstrap or theoreticalresults?

2003-08-09 Thread huan . huang
Dear R users, This is more a statistical question rather than an R question. I'd appreciate it if you can give me some suggestions. I have a sample of a time series (sample size 500, fat tail in density). I am trying to calculate the Standard error of standard deviation of a sub-block-sample

[R] gregmisc

2003-08-09 Thread atsuya fujito
Hi How do I install gregmisc packages? I did- % sudo R install.packages(gregmisc) . . barplot2() but, Error: couldn't find function barplot2 -- atuya Mac OSX 10.2.6 R 1.7.1 __ [EMAIL PROTECTED] mailing list