Learn R Programming

genpathmox (version 0.2)

splitopt.reg: Defining optimum partition for a specific variable (regression model)

Description

Defining optimum partition for a specific variable (regression model)

Usage

splitopt.reg(x, splits, fact, method, ...)

Arguments

x
matrix or data.frame with the data.
splits
vector indicating the binary partition
fact
vector indicating the variable
method
string indicating the method: LM or LAD
...
Further arguments passed on to splitopt.reg.

Value

  • list containing information of the optimum partition for a specific variable

Details

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