my data with *.txt is :
T0 T1 I1 E1 E2 E3 V1 V2 V3
0.00000 0.03634 1 1 0 0 1 0 0
0.03634 0.98215 1 1 0
0 1 0 0
0.00000 0.66344 2 1 0 0 0 0 0
0.66344 0.66794 2 0 0 0 0 0 0
0.00000 0.35274 3 1 0 0 1 0 0
0.35274 0.47851 3
1 0 0 1 0 0
0.47851 1.94762 3 0 0 0 1 0 0
I want to analyze my data with function :
multivePenal(formula, formula.terminalEvent, formula2, data, Frailty =
TRUE,initialize = TRUE, recurrentAG = FALSE, cross.validation = FALSE, n.knots,
kappa, maxit = 350, hazard = "Splines", nb.int,print.times = T)
But give me an error :
Error in aggregate.data.frame(as.data.frame(x), ...) : arguments must have
same length
In addition: Warning message:
In Surv(T0, T1, E1) :
Stop time must be > start time, NA created
I don't know how I can solve It. please HELP ME.
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.