dot-initializeWeights: .initializeWeights

.initializeWeightsR Documentation

.initializeWeights

Description

initialize the adaptive lasso weights

Usage

.initializeWeights(
  weights,
  penalty,
  method,
  createAdaptiveLassoWeights,
  control,
  lavaanModel,
  modifyModel,
  startingValues,
  rawParameters
)

Arguments

weights

weight argument passed to function

penalty

penalty used

createAdaptiveLassoWeights

should adaptive lasso weights be created?

control

list with control elements for optimizer

lavaanModel

model of type lavaan

modifyModel

list with model modifications

startingValues

either set to est, start, or labeled vector with starting values

rawParameters

raw parameters

Value

vector with weights


lessSEM documentation built on May 29, 2024, 7:10 a.m.