| fitCoxph | R Documentation |
Fit Cox proportional hazards model on an time-to-event endpoint.
Refer to this vignette for more information and examples.
fitCoxph(formula, placebo, data, alternative, scale, ..., tidy = TRUE)
formula |
An object of class |
placebo |
Character. String indicating the placebo in |
data |
Data frame. Usually it is a data snapshot locked at a milestone. |
alternative |
a character string specifying the alternative hypothesis,
must be one of |
scale |
character. The type of estimate in the output. Must be one
of |
... |
(optional) subset conditions compatible with |
tidy |
logical. |
a data frame with three columns:
armname of the treatment arm.
placeboname of the placebo arm.
estimateestimate of main effect of arm, depending on scale.
pone-sided p-value for log hazard ratio (treated vs placebo).
infothe number of events of the endpoint in the subset.
zthe z statistics of log hazard ratios.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.