Description Usage Arguments Value Examples
Produces summary information that contains a recommendation for reporting the sensitivity analyses
1 2 |
object |
The object returned from OVtool::ov_simgrid() |
model_results |
The object returned from OVtool::outcome_model() |
sig_level |
The alpha level with default 0.05 |
progress |
Whether or not the function progress should print to screen. The default value is TRUE. If the user does not want the output to print to screen, they should set to FALSE. |
... |
Additional arguments. |
This function will print a recommendation for reporting the sensitivity analyses.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | data(sud)
sud = data.frame(sud)
sud$treat = ifelse(sud$treat == "A", 1, 0)
sud$wts = sample(seq(1, 10, by=.01), size=nrow(sud), replace = TRUE)
outcome_mod = outcome_model(data = sud,
weights = "wts",
treatment = "treat",
outcome = "eps7p_6",
model_covariates = c("sfs8p_0", "eps7p_0"),
estimand = "ATE")
ovtool_results = ov_sim(model_results=outcome_mod,
plot_covariates=c("sfs8p_0"),
es_grid = NULL,
rho_grid = NULL,
n_reps = 2,
progress=FALSE)
summary = summary.ov(object = ovtool_results,
model_results = outcome_mod,
sig_level=0.05,
progress = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.