Description Usage Arguments Value Examples
View source: R/validity_analysis.R
validity_analysis
represents a wrapper function for the bmbstats
function.
validity_analysis
runs the bootstrap validity analysis of the data
data frame using
estimator_function
to return the estimators
1 2 3 4 5 6 7 8 9 10 | validity_analysis(
data,
criterion,
practical,
SESOI_lower = SESOI_lower_validity_func,
SESOI_upper = SESOI_upper_validity_func,
estimator_function = validity_estimators,
control = model_control(),
na.rm = FALSE
)
|
data |
Data frame |
criterion |
Character vector indicating column name in the |
practical |
Character vector indicating column name(s) in the |
SESOI_lower |
Function or numeric scalar. Default is |
SESOI_upper |
Function or numeric scalar. Default is |
estimator_function |
Function for providing validity estimators. Default is |
control |
Control object returned from |
na.rm |
Should NAs be removed? Default is |
Object of class bmbstats
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data("agreement_data")
val_analysis <- validity_analysis(
data = agreement_data,
criterion = "Criterion_score.trial1",
practical = "Practical_score.trial1",
control = model_control(
boot_type = "perc",
boot_samples = 1000,
seed = 1667
)
)
val_analysis
plot(val_analysis)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.