Description Usage Arguments Details Slots
An S4 class of the data from a trial with hazards supplied for each outcome in the trial.
TODO documentation
1 2 | ExtendTrial(df, df_mu, participant, outcome, hazard, followup, censor, s, s_max,
discount)
|
df |
a data.frame of the trial data (long format) |
df_mu |
a data.frame of beyond-trial hazard data |
participant |
a formula describing the variables related to participants |
outcome |
a formula describing the variables related to outcomes |
hazard |
a formula describing the variables of the hazard |
followup |
expression for follow-up in data.frame (NSE) |
censor |
an expression for censoring status in trial data (NSE) |
s |
the name of the time variable in the hazard data (NSE) |
s_max |
name of extended follow-up time variable in participant data |
discount |
numeric (scalar) value of lifeyear discount rate |
Hazard data will be used to extend the life-year measurements beyond the follow-up times of the trial.
df_mu
a tbl_df of beyond-trial hazard data
hazard
a formula describing the hazard
censor
a logical vector of the censoring status at follow up
s
numeric value of the survival time in the hazard data
s_max
numeric value of participant follow up time given the hazard data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.