View source: R/empiricalobjective.R
empiricalobjective | R Documentation |
Generate an empirical objective function from default or empirical values for use in an item selection using STUART.
empiricalobjective(
criteria = c("rmsea", "srmr", "crel"),
add = c("chisq", "df", "pvalue"),
x = NULL,
n = 50,
side = NULL,
skew = FALSE,
scale = 1,
matrices = NULL,
fixed = NULL,
comparisons = NULL,
...
)
criteria |
A vector of names of criteria included in the objective function. Defaults to |
add |
A vector of names of criteria not used in the objective function, but added in order to be included in the log of solutions. |
x |
Either a vector of values or an object of class |
n |
Number of values to use in function determining. Defaults to 50, meaning if |
side |
Which side good values are located at. |
skew |
Whether to account for skew in the distribution using the |
scale |
A numeric scale to use in weighting the objective component. Defaults to 1. |
matrices |
An object of class |
fixed |
An object of class |
comparisons |
A vector of names of criteria included in the objective function which are related to model comparisons (e.g. when determining measurement invariance). |
... |
Additional arguments. |
Returns an object of class stuartFixedObjective
Martin Schultze
fixedobjective
, extractobjective
, objectivematrices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.