Description Usage Arguments Value
In real world clinical trials and observational studies, net treatment effect is generally not available at the indivdiaul level. However, G-Computation can be used to estimate net benefit by fitting a regression. ric_regression calculates relevant RIC statistics using the appropriate regression object and dataset.
1 | ric_regression(reg_object, pred_data)
|
reg_object |
a glm regression object (results of model fitting) |
pred_data |
data for G-computation. It must have a marker column named x and a treatment column named tx. Note that if there is variable follow-up time they should all be set to a unique value (e.g., one unit of time) in the prediction dataset to estimate rate |
RIC estimates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.