Description Usage Arguments Value See Also Examples
Compute metadata to be used for estimation of model-robust covariate adjusted restricted mean survival time and survival probability in a two-arm randomized controlled trial using targeted maximum likelihood estimation.
1 2 3 4 5 6 7 8 |
outcome.formula |
An object of class "formula". The left hand side should be
specified using |
trt.formula |
An object of class "formula". The left hand side should be the name of the binary (coded as 0 and 1) treatment variable. The right hand side should specify the names of variables used to estimate the propensity. |
data |
A data frame containing the variables in the model. |
coarsen |
An optional integer that specifies if and how |
algo |
Method to be used for fitting the hazard and censoring nuisance parameters.
Automatically set to |
crossfit |
Should the estimator be crossfit? Ignored if |
An R6 object of class "Survival".
Other survrct functions:
rmst()
,
survprob()
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.