Re: [R] lm.boot function gives error

2007-10-29 Thread Randa
] lm.boot function gives error Tom La Bone wrote: > When I run this calculation > > library(ISwR) > library(simple.boot) > data(thuesen) > fit <- lm(thuesen$short.velocity~thuesen$blood.glucose) > summary(fit) > fit.sb <- lm.boot(fit,R=1000,rows=F) > summar

Re: [R] lm.boot function gives error

2007-10-29 Thread Peter Dalgaard
Tom La Bone wrote: > When I run this calculation > > library(ISwR) > library(simple.boot) > data(thuesen) > fit <- lm(thuesen$short.velocity~thuesen$blood.glucose) > summary(fit) > fit.sb <- lm.boot(fit,R=1000,rows=F) > summary(fit.sb) > > I get the following error from the lm.boot ro

[R] lm.boot function gives error

2007-10-29 Thread Tom La Bone
When I run this calculation library(ISwR) library(simple.boot) data(thuesen) fit <- lm(thuesen$short.velocity~thuesen$blood.glucose) summary(fit) fit.sb <- lm.boot(fit,R=1000,rows=F) summary(fit.sb) I get the following error from the lm.boot routine: newdata' had 100 rows but va