Learn R Programming

clustra (version 0.2.1)

ic_fun: Function to test information criteria. Not exported and used by internal function kchoose.

Description

Function to test information criteria. Not exported and used by internal function kchoose.

Usage

ic_fun(cl, data, fn)

Value

Numerical value of computed AIC. Also writes a line of computed information criteria to fn file for each k.

Arguments

cl

Output from clustra function.

data

A valid data set for clustra.

fn

Character file name for output.