Learn R Programming

genpathmox (version 0.7)

all.part.reg: Defining the candidates to the optimum partition for each of segmentation variables (regression model)

Description

Defining the candidates to the optimum partition for each of segmentation variables (regression model)

Usage

# S3 method for part.reg
all(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 candidates to the optimum partition for each of segmentation variables

Details

Internal function. all.part.reg is called by partopt.reg.