View source: R/plot_ermod_exp_cov_sel.R
plot_er_exp_sel | R Documentation |
Plot ER curve for each exposure metric and compare them.
plot_er_exp_sel(x, n_draws_sim = NULL)
x |
An object of class |
n_draws_sim |
Number of draws to simulate response for each exposure value. Default is NULL (use all draws in the model object) |
No return value, called for plotting side effect.
data(d_sim_binom_cov_hgly2)
ermod_bin_exp_sel <-
dev_ermod_bin_exp_sel(
data = d_sim_binom_cov_hgly2,
var_resp = "AEFLAG",
var_exp_candidates = c("AUCss_1000", "Cmaxss", "Cminss")
)
plot_er_exp_sel(ermod_bin_exp_sel) + xgxr::xgx_scale_x_log10()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.