| cox_score_rhogamma | R Documentation |
Calculates the Cox score statistic for weighted log-rank tests.
cox_score_rhogamma(
beta,
time,
delta,
z,
w_hat = rep(1, length(time)),
wt_rg = rep(1, length(time)),
score_only = TRUE
)
beta |
Log hazard ratio parameter. |
time |
Numeric vector of event times. |
delta |
Numeric vector of event indicators. |
z |
Numeric vector of group indicators. |
w_hat |
Numeric vector of weights. |
wt_rg |
Numeric vector of rho-gamma weights. |
score_only |
Logical; if TRUE, returns only the score. |
Numeric value of the score or a list with additional results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.