hello ...

Can anyone help me with this :


In R.exe 2.6 , Unix , :-

plot.data<-model[[i]]$data$conc
newdata<-seq(min(plot.data),max(plot.data),by=1)
model.pred<-predict(model[[i]],data.frame(newdata),interval="prediction")
matpoints(newdata,model.pred[,c("Lower","Upper")],"l",col="blue",lty=1)

works OK ... 


in Rgui  2.12 , Windows XP , same code 

> plot.data<-model[[i]]$data$conc
> newdata<-seq(min(plot.data),max(plot.data),by=1)
> 
model.pred<-predict(model[[i]],data.frame(newdata),interval="prediction")
Error in `[.data.frame`(newdata, , 2) : undefined columns selected
 
 

      Robert Kinley  ( 'baffled' of Berkshire )
 
 

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to