Displaying 1 result from an estimated 1 matches for "singtest".
Did you mean:
ringtest
2011 Mar 09
2
Anomaly with unique and match
...n an update to coxph. The last 6 lines
below are the question, the rest create a test data set.
tmt585% R
R version 2.12.2 (2011-02-25)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-unknown-linux-gnu (64-bit)
# Lines of code from survival/tests/singtest.R
> library(survival)
Loading required package: splines
> test1 <- data.frame(time= c(4, 3,1,1,2,2,3),
+ status=c(1,NA,1,0,1,1,0),
+ x= c(0, 2,1,1,1,0,0))
>
> temp <- rep(0:3, rep(7,4))
>
> stest <- data.frame(start = 10*temp,
+ stop = 10*temp + test...