Learn R Programming

MVLM (version 0.0.1)

residuals.mvlm: Extract mvlm Residuals

Description

residuals method for class mvlm.

Usage

"residuals"(object, ...)

Arguments

object
Output from mvlm
...
Further arguments passed to or from other methods.

Value

A data frame of residuals with the same dimension as the outcome data passed to mvlm

Examples

Run this code
data(mvlmdata)
Y <- as.matrix(Y.mvlm)
mvlm.res <- mvlm(Y ~ Cont + Cat + Ord, data = X.mvlm)
Y.resid <- resid(mvlm.res)

Run the code above in your browser using DataLab