Learn R Programming

discrim (version 1.1.0)

fit_regularized_linear: Wrapper for sparsediscrim models

Description

Wrapper for sparsediscrim models

Usage

fit_regularized_linear(
  x,
  y,
  regularization_method = "diagonal",
  ...,
  call = rlang::caller_env()
)

fit_regularized_quad( x, y, regularization_method = "diagonal", ..., call = rlang::caller_env() )

Value

A sparsediscrim object

Arguments

x

A matrix or data frame.

y

A factor column.

regularization_method

A character string.

...

Not currently used.