Apparently this was Surv from package Design.
So the bug is in contributed package Design, and nothing to do with
R-bugs.
On Wed, 12 Dec 2007, Peter Dalgaard wrote:
> [EMAIL PROTECTED] wrote:
>> Your example is not reproducible without 'library(survival)'.
>> When I include that, I get
>>
>>
>>>
[EMAIL PROTECTED] wrote:
> Your example is not reproducible without 'library(survival)'.
> When I include that, I get
>
>
>> head(D,20)
>>
> stime status surv
> 1176 TRUE 176
> ...
>
> Objects of class "Surv" are from the contributed package survival, and you
> need that attach
Your example is not reproducible without 'library(survival)'.
When I include that, I get
> head(D,20)
stime status surv
1176 TRUE 176
...
Objects of class "Surv" are from the contributed package survival, and you
need that attached to deal with them properly.
On Wed, 12 Dec 2007, [
Full_Name: Edward McNeil
Version: 2.6.1
OS: Windows
Submission from: (NULL) (203.170.234.5)
I want to show students how the survival object looks like in R.
Reproducible example:
library(MASS)
data(Aids2)
attach(Aids2)
status <- status=="D"
stime <- death-diag
surv <- Surv(stime, status)
D <- da