Description Usage Arguments Value
View source: R/selector_main.R
This function takes a fitted lavaan object and bootstraps various test statistics. The test whose p-values are closest to a uniform distribution is selected.
1 | selector(f, b.reps = 1000, seed = 1)
|
f |
Object obtained by fitting a model using sem() or cfa() in lavaan. |
b.reps |
Number of bootstrap samples. Defaults to 1000. |
seed |
A random seed. Defaults to 1. |
A plot of bootstrap p-values and the selected test statistic and its associated p-value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.