Learn R Programming

robustHD (version 0.5.0)

robustHD-deprecated: Deprecated functions in package robustHD

Description

These functions are provided for compatibility with older versions only, and may be defunct as soon as the next release.

Usage

sparseLTSGrid(x, ...)

## S3 method for class 'formula': sparseLTSGrid(formula, data, ...)

## S3 method for class 'default': sparseLTSGrid(x, y, lambda, mode = c("lambda", "fraction"), ...)

Arguments

formula
a formula describing the model.
data
an optional data frame, list or environment (or object coercible to a data frame by as.data.frame) containing the variables in the model. If not found in data, the variables are taken from
x
a numeric matrix containing the predictor variables.
y
a numeric vector containing the response variable.
lambda
a numeric vector of non-negative values to be used as penalty parameter.
mode
a character string specifying the type of penalty parameter. If "lambda", lambda gives the grid of values for the penalty parameter directly. If "fraction", the smallest value of the penalty parameter that
...
additional arguments to be passed down, eventually to sparseLTS.

Details

sparseLTSGrid is a wrapper function for sparseLTS that only differs in the default values for the penalty parameter lambda.

See Also

Deprecated