Compare more than two survival curves. Inputs are vectors
corresponding to observations at a set of discrete time
points for right censored data.
Usage
compNSurv(t, n, e, n1, e1, FHp, FHq, scores = "",
round1 = 5)
Arguments
t
Time
n
No. at risk (overall)
e
No. events (overall)
n1
No. at risk per group
e1
No. of events per group
FHp
$p$ for Fleming-Harrington test
FHq
$q$ for Fleming-Harrington test
scores
scores; if no value is given this is set as
$1,2,...,K$ the no. of predictors
round1
No. digits to which to round (for display)
Value
A list with 3 elements. The first are 2 data frames. In
each, there is one row for each of the weights, as given
above. [object Object],[object Object],[object Object]
Details
[object Object],[object Object]
References
Tarone RE, Ware J 1977 On Distribution-Free Tests for
Equality of Survival Distributions.
Biometrika;64(1):156--60.
http://www.jstor.org/stable/2335790{JSTOR}