Description Usage Arguments Value Examples
This function allows you to express your love of cats.
1 | Theta_hat(surv_data)
|
surv_data |
A data.frame (see the example) |
An object with the statistic
1 2 3 4 5 6 7 8 9 | require(survival)
surv_data = with(subset(survival::lung,ph.ecog %in% 0:2),
data.frame(population = sex,
censor = as.numeric(status==1),
time = time, cohort = ph.ecog ))
out = Theta_hat(surv_data)
print(out)
print(confint(out))
print(pvalue.Theta_hat(out))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.