The twosamp class is returned by the functions bpcp2samp or delta2samp. The class
represents the comparison of two survival curves at each observed event time.
Unlike the htest class, which compares curves at specified testtimes,
the twosamp class compares curves at all observed event times.
Objects of this class has methods for the functions summary and plot.
The following components must be included in a legitimate
twosamp
object.
structure(list(L=L, Lin=Lin, R=R, Rin=Rin,
interval=interval,
g1=g1,est_group1 = est_g1, lower_group1=lower_g1, upper_group1=upper_g1,
g2=g2,est_group2 = est_g2, lower_group2=lower_g2, upper_group2=upper_g2,
beta = beta,
lower = lower,
upper = upper,
conf.level = conf.level,
p.value = p.value,
null.value = nullparm,
alternative = alt,
method = full.method), class = c("twosamp","list"))
left endpoint of interval
logical vector, include left endpoint?
right endpoint of interval
logical vector, include right endpoint?
interval of survival and confidence interval as determined by L, Lin, R, Rin
name of group 1 as determined by group
one-sample survival estimate for group 1 in interval/at time point
one-sample lower pointwise confidence limit for group 1 in interval/at time point
one-sample upper pointwise confidence limit for group 1 in interval/at time point
name of group 2 as determined by group
one-sample survival estimate for group 2 in interval/at time point
one-sample lower pointwise confidence limit for group 2 in interval/at time point
one-sample upper pointwise confidence limit for group 2 in interval/at time point
estimate of parameter determined by parmtype (see note)
the lower limit of the confidence interval for the parameter determined by parmtype
the upper limit of the confidence interval for the parameter determined by parmtype
confidence level
p-value for the test
the specificed null hypothesized value of the parameter determined by parmtype
type of alternative with respect to the null.value, either 'two.sided', 'greater' or 'less'
a character string describing the test
plot.twosamp,
summary.twosamp
create.twosamp