Learn R Programming

genpathmox (version 0.9)

splitopt: Best partition for a specific segmentation variable

Description

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

Usage

splitopt(x, inner, outer, mode, scheme, splits, fact, size_candidate)

Value

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

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)

outer

list of vectors with column indices or column names from Data indicating the sets of manifest variables forming each block (i.e. which manifest variables correspond to each block)

mode

character vector indicating the type of measurement for each block. Possible values are: "A", "B" The length of modes must be equal to the length of blocks

scheme

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

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