[Fwd: R-beta: R 0.50 alpha]

Andrea Rossetti (rossetti@stat.unipg.it)
Tue, 09 Dec 1997 23:40:03 +0100


Date: Tue, 09 Dec 1997 23:40:03 +0100
From: Andrea Rossetti <rossetti@stat.unipg.it>
To: r-help <r-help@stat.math.ethz.ch>
Subject: [Fwd: R-beta: R 0.50 alpha]

Hi,
I'm using the rsept for WINDOWS 95 (with modified men=F9, and "fixed" sur=
vival4).
See the Ennapadam Venkatraman's example made in date 35/07/97 19.02

Ennapadam Venkatraman wrote:
> library(splines)
> library(survival4)
> xx <- NULL
> xx$ftim <- exp(-runif(100))
> xx$ctim <- 2*runif(100)
> xx$sts <- 1*(xx$ftim <=3D xx$ctim)
> xx$otim <- xx$sts*xx$ftim + (1-xx$sts)*xx$ctim
> xx$z1 <- runif(100)
> xx$z2 <- runif(100)
> survfit( Surv(otim,sts) ~ 1,xx)
Error in eval(frame, data)[subset, , drop =3D FALSE] : incorrect number o=
f
dimensions
> coxph( Surv(otim,sts) ~ z1 + z2, data=3Dxx)
Error in eval(frame, data)[subset, , drop =3D FALSE] : incorrect number o=
f
dimensions

These problems can be fixed? Any suggestion is welcome.

Andrea Rossetti.

Excuse me for my bad english.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._