est_phreg: Marginal Cox proportional hazards model for the treatment effect in
RCT
Description
Marginal Cox proportional hazards model for the treatment effect in
RCT
Usage
est_phreg(
response = "Surv(time, status)",
treatment = "a",
level = 0.95,
id = NULL
)
Arguments
- response
Response variable (character or formula). Default:
"Surv(time, status)"
- treatment
Treatment variable (character)
- level
Confidence interval level
- id
Optional subject id variable (character)