setStartingValues: Internal: Set starting values

View source: R/helper_estimators_weights.R

setStartingValuesR Documentation

Internal: Set starting values

Description

Set the starting values.

Usage

setStartingValues(
  .W               = args_default()$.W,
  .starting_values = args_default()$.starting_values
  )

Arguments

.W

A (J x K) matrix of weights.

.starting_values

A named list of vectors where the list names are the construct names whose indicator weights the user wishes to set. The vectors must be named vectors of "indicator_name" = value pairs, where value is the (scaled or unscaled) starting weight. Defaults to NULL.

Value

The (J x K) matrix of starting values.


cSEM documentation built on Nov. 25, 2022, 1:05 a.m.