Displaying 1 result from an estimated 1 matches for "meter4".
Did you mean:
meter
2013 Feb 24
1
Use of the newdata parameter in the predict.coxph function
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(data = data.frame(Meter3.Value = 100.001, :
variable lengths differ (found for 'Meter3.Value')
6: model.frame.default(data = data.frame(Meter3.Value = 100.001,
Mete...