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 but variable(s) found have 289205 rows 


and
that is why I used "rep" to create the profile of a hypothetical subject I want 
to see.. I've
seen the help and the web and the syntax for a hypothetical subject is
indeed as you mentioned, but it is not working (or am I making a
mistake?). Once you declare newdata as the above then newdata is
only a row which will conflict with the dimensions of out1. Am I not
right? 

But when I use the rep function to create 289205 zeros for chemo1 horm1 and so 
on I get an out of memory error.

I use Windows XP professional.

Thanx for your answer David.



      
___________________________________________________________ 
×ñçóéìïðïéåßôå Yahoo!; 
ÂáñåèÞêáôå ôá åíï÷ëçôéêÜ ìçíýìáôá (spam); Ôï Yahoo! Mail 
äéáèÝôåé ôçí êáëýôåñç äõíáôÞ ðñïóôáóßá êáôÜ ôùí åíï÷ëçôéêþí 
ìçíõìÜôùí http://login.yahoo.com/config/mail?.intl=gr

        [[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