predict.qdarob: Prediction method for qdarob objects

Description Usage Arguments Value

View source: R/ldarob.R

Description

Prediction method for qdarob objects

Usage

1
2
## S3 method for class 'qdarob'
predict(object, newdata = NULL, type = c("probs", "posterior", "class"))

Arguments

object

the model fit

newdata

optional newdata. if left as NULL the fitted values are returned.

type

recognizes "probs" or "posterior" to return probabilities, "class" for class labels

Value

a vector of class labels or a matrix of class probabilities


abnormally-distributed/cvreg documentation built on May 3, 2020, 3:45 p.m.