Learn R Programming

SCGLR (version 3.0)

$.MultivariateFormula: $ operator for multivariate formula

Description

S3 helper function to retrieve attributes as if it was named values

Usage

# S3 method for MultivariateFormula
$(f, a)

Arguments

f

formula

a

attribute

Examples

Run this code
# NOT RUN {
frm <- multivariateFormula(y~x+z)
print(frm$Y)
# }

Run the code above in your browser using DataLab