Hi there,
I have a rather large data set and perform the following cox model:
test1 - list(tstart,tstop,death1,chemo1,radio1,horm1)
out1-coxph( Surv(tstart,tstop, death1) ~
On Sep 21, 2009, at 7:27 PM, Λεωνίδας Μπαντής wrote:
Hi there,
I have a rather large data set and perform the following cox model:
test1 - list(tstart,tstop,death1,chemo1,radio1,horm1)
out1-coxph( Surv(tstart,tstop, death1) ~ chemo1+chemo1:log(tstop
If I use the following
newdata=data.frame(chemo1=0,
horm1=0,
age1=mean(age1),
grade1=0,
positive1=1,
size1=mean(size1) )
then I get
Error in model.frame.default(Terms, newdata, ...) :
variable lengths differ (found for 'log(tstop + 1)')
In addition: Warning message:
'newdata' had 1 rows
I did not test to see if the design of the data.frame you offered was
valid input to your model, since you did not provide a means to test
it within R. I only meant to say that creating a very long vector with
identical entries should not be necessary if the newdata argument were
4 matches
Mail list logo