| p_area | R Documentation |
selmodel objectSummarize the strength of selection by
calculating the area under the selection weight function a
selmodel object (excluding the area with weight fixed at
1). If the object has bootstrap replications, then a
confidence interval will also be calculated.
p_area(object, CI_type = NULL, conf_level = NULL, warn = TRUE)
object |
fitted model of class |
CI_type |
character string specifying the type of
confidence interval to calculate, with options as in
|
conf_level |
desired coverage level for confidence
intervals. If |
warn |
logical controlling whether warnings are
displayed, with a default of |
A data.frame containing the estimated area under
the selection weight function. If the input object
includes bootstraps, then the returned data.frame also
includes bootstrap confidence interval(s) for the area
under the selection weight function.
beta_noboot <- selection_model(
data = practice_facilitation,
yi = SMD,
sei = SE,
selection_type = "beta",
steps = c(0.025,0.975)
)
p_area(beta_noboot)
step_boot <- selection_model(
data = self_control,
yi = g,
sei = se_g,
cluster = studyid,
selection_type = "step",
steps = c(0.025,0.50),
estimator = "ARGL",
bootstrap = "multinomial",
CI_type = "normal",
R = 9L
)
p_area(step_boot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.