Learn R Programming

MVLM (version 0.0.1)

fitted.mvlm: Extract mvlm Fitted Values

Description

fitted method for class mvlm.

Usage

"fitted"(object, ...)

Arguments

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

Value

A data frame of fitted values 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.hat <- fitted(mvlm.res)

Run the code above in your browser using DataLab