s-news
[Top] [All Lists]

Re: Survival analysis - survfit

To: s-news@wubios.wustl.edu, mpacheco@glec.com
Subject: Re: Survival analysis - survfit
From: Terry Therneau <therneau@mayo.edu>
Date: Thu, 10 Jan 2008 16:11:58 -0600 (CST)
Reply-to: Terry Therneau <therneau@mayo.edu>
> se3.surv <- survfit(Surv(time, cens) ~ treat, data = se3t)

> results in an error message: "Problem: No. of rows in Surv(time, cens) 
> (variable 1) is 798 != length of others (364)"

  This message usually means that one of the variables is coming from your work 
directory, and others from the data set (se3t).  It likely has nothing to do 
with survfit per se.
  
        Terry Therneau
        

<Prev in Thread] Current Thread [Next in Thread>