Learn R Programming

genpathmox (version 0.9)

partopt: Best partition given a set of segmentation variables

Description

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

Usage

partopt(x, y, inner, outer, mode, scheme, size_candidate)

Value

a list containing information of the best partition given a set of segmentation variables

Arguments

x

matrix or dataframe containing the dataset

y

matrix or dataframe or vector of the segmentation 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"

size_candidate

number indicating the minimum threshold for a node

Details

Internal function