splitopt: Best partition for a specific segmentation variable

View source: R/get_pathmox_internal.R

splitoptR Documentation

Best partition for a specific segmentation variable

Description

############################################################################################

Usage

splitopt(x, inner, .model, .scheme, .consistent, splits, fact, size_candidate)

Arguments

x

matrix or data frame containing the manifest variables.

inner

a square (lower triangular) boolean matrix representing the inner model (i.e. the path relationships between latent variables)

.model

A description of the user-specified model.

.scheme

string indicating the type of inner weighting scheme. Possible values are "centroid", "factorial", or "path".

.consistent

Logical. Should composite/proxy correlations be disattenuated to yield consistent loadings and path estimates if at least one of the construct is modeled as a common factor. Defaults to TRUE.

splits

vector indicating the binary partition.

fact

vector indicating the categorical variable.

size_candidate

number indicating the minimum threshold for a node.

Details

Internal function

Value

a list containing information about the bets partition for a specific segmentation variable.


genpathmox documentation built on Oct. 26, 2023, 5:08 p.m.