ic: ic

Description Usage Arguments Value

View source: R/IC.R

Description

calculate the aic/bic/mdl of a given clusterwise regression model

Usage

1
ic(X, y, membership, type = "mdl")

Arguments

X

the design matrix

y

the response vector

membership

a vector that records the membership of each data case

type

"aic", "bic" or "mdl"

Value

Returns the specified information criterion


wenda-1121/RHP documentation built on Feb. 18, 2020, 9:36 p.m.