Learn R Programming

pathmox (version 0.2.0)

check_pathmox_args: Check arguments for pathmox and pathmox.fit

Description

Check arguments for pathmox and pathmox.fit

Usage

check_pathmox_args(pls, EXEV, X, signif, size, deep, tree)

Arguments

pls
An object of class "plspm" returned by plspm.
EXEV
A data frame of factors contaning the segmentation variables.
X
Optional dataset (matrix or data frame) used when argument dataset=NULL inside pls.
signif
A numeric value indicating the significance threshold of the F-statistic. Must be a decimal number between 0 and 1.
size
numeric value indicating the minimum size of elements inside a node.
deep
integer indicating the depth level of the tree. Must be an integer greater than 1.
tree
whether the tree should be displayed (TRUE by default).

Value

list of validated arguments

Details

Internal function. check_pathmox_args is called by pathmox.