Learn R Programming

emil (version 2.2.3)

predict_pamr: Prediction using nearest shrunken centroids.

Description

In case multiple thresholds give the same error the largest one is chosen (i.e. the one keeping the fewest features).

Usage

predict_pamr(object, x, threshold, thres_fun, ...)

Arguments

Value

A list with elements:
  • prediction: Factor of predicted class memberships.
probability: Data frame of predicted class probabilities.

See Also

emil, fit_pamr, importance_pamr, modeling_procedure