Learn R Programming

mdir (version 0.9.0)

setupOutlierComponents: Setup outlier components

Description

Internal function that translates the types passed to ``callMDI`` into the outlier component type vector.

Usage

setupOutlierComponents(types)

Value

Vector of numbers to pass to the C++ MDI function indicating what outlier component types should be used. 0, the default, means no outliers are modelled, 1 uses a global MVT distribution to model outliers a la Crook et al.

Arguments

types

Density types passed to ``callMDI``.