Defining the optimum partition given a set of segmentation variables (regression model)
partopt.reg(x, y, method, ...)
matrix or data.frame with the data.
matrix or data.frame of the segmentation variables.
string indicating the method: LM or LAD
Further arguments passed on to all.part.reg
.
list containing information of the optimum partition given a set of segmentation variables
Internal function. partopt.reg
is called by reg.pathmox
.