Re: [R] Use of the newdata parameter in the predict.coxph function

2013-02-25 Thread Andrews, Chris
ected")) 1 12.14023 -Original Message- From: Steve Einbender [mailto:steve.einben...@gmail.com] Sent: Sunday, February 24, 2013 9:40 AM To: r-help@r-project.org Subject: [R] Use of the newdata parameter in the predict.coxph function Hello, I've executed the following p

[R] Use of the newdata parameter in the predict.coxph function

2013-02-24 Thread Steve Einbender
Hello, I've executed the following predict.coxph function to enable prediction for new variable values (error is included). *predict(cox_out,newdata=data.frame(Meter3.Value=100.001, Meter4.Value=200.001,Meter5.Value=300.001,Meter10.Value= 400.001,type="expected")) Error in model.frame.default(dat