Learn R Programming

genpathmox (version 0.2)

partopt.reg: Defining the optimum partition given a set of segmentation variables (regression model)

Description

Defining the optimum partition given a set of segmentation variables (regression model)

Usage

partopt.reg(x, y, method, ...)

Arguments

x
matrix or data.frame with the data.
y
matrix or data.frame of the segmentation variables.
method
string indicating the method: LM or LAD
...
Further arguments passed on to all.part.reg.

Value

  • list containing information of the optimum partition given a set of segmentation variables

Details

Internal function. partopt.reg is called by reg.pathmox.