fixedobjective: Generate a fixed objective function for item selection.

View source: R/fixedobjective.R

fixedobjectiveR Documentation

Generate a fixed objective function for item selection.

Description

Generate an objective function from default values for use in an item selection using STUART.

Usage

fixedobjective(
  criteria = c("rmsea", "srmr", "crel"),
  add = c("chisq", "df", "pvalue"),
  side = NULL,
  scale = 1,
  matrices = NULL,
  fixed = NULL,
  comparisons = NULL,
  ...
)

Arguments

criteria

A vector of names of criteria included in the objective function. Defaults to c('rmsea', 'srmr', 'crel').

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.

side

Which side good values are located at. 'top' means large values are good (e.g. Reliability), 'bottom' means small values are good (e.g. RMSEA), and 'middle' means average values are good (e.g. factor correlations).

scale

A numeric scale to use in weighting the objective component. Defaults to 1.

matrices

An object of class stuartObjectiveMatrices to include matrices (e.g. latent correlations) into the objective function.

fixed

An object of class stuartFixedObjective to include already previously defined fixed objectives.

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.

Value

Returns an object of class stuartFixedObjective

Author(s)

Martin Schultze

See Also

empiricalobjective, extractobjective, objectivematrices


stuart documentation built on June 7, 2023, 6:12 p.m.