prelslx: R6 class to obtain preliminary result for semi-confirmatory...

prelslxR Documentation

R6 class to obtain preliminary result for semi-confirmatory structural equation modeling

Description

R6 class to obtain preliminary result for semi-confirmatory structural equation modeling

R6 class to obtain preliminary result for semi-confirmatory structural equation modeling

Value

Object of prelslx R6 class.

Methods

Public methods


Method new()

Usage
prelslx$new(
  model,
  data,
  numeric_variable,
  ordered_variable,
  weight_variable,
  auxiliary_variable,
  group_variable,
  reference_group,
  sample_cov,
  sample_mean,
  sample_size,
  sample_moment_acov,
  verbose = TRUE
)

Method prefit()

Usage
prelslx$prefit(
  penalty_method = "mcp",
  lambda_grid = "default",
  delta_grid = "default",
  step_grid = "default",
  loss = "default",
  algorithm = "default",
  missing_method = "default",
  start_method = "default",
  lambda_direction = "default",
  lambda_length = 50L,
  delta_length = 3L,
  threshold_value = 0.3,
  subset = NULL,
  cv_fold = 1L,
  iter_out_max = 100L,
  iter_in_max = 50L,
  iter_other_max = 500L,
  iter_armijo_max = 100L,
  tol_out = 0.001,
  tol_in = 0.001,
  tol_other = 1e-07,
  step_size = 0.5,
  momentum = 0,
  armijo = 1e-05,
  ridge_cov = 0,
  ridge_hessian = 1e-04,
  ridge_weight = 1e-04,
  warm_start = TRUE,
  positive_variance = TRUE,
  minimum_variance = 1e-04,
  armijo_rule = TRUE,
  enforce_cd = TRUE,
  random_update = TRUE,
  weight_matrix = NULL,
  verbose = TRUE
)

Method clone()

The objects of this class are cloneable with this method.

Usage
prelslx$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


lslx documentation built on Dec. 2, 2022, 9:11 a.m.