Learn R Programming

MachineShop (version 3.3.0)

quote: Quote Operator

Description

Shorthand notation for the quote function. The quote operator simply returns its argument unevaluated and can be applied to any R expression. Useful for calling model constructors with quoted parameter values that are defined in terms of nobs, nvars, or y.

Usage

.(expr)

Arguments

expr

any syntactically valid R expression.

Value

The quoted (unevaluated) expression.

See Also

quote

Examples

Run this code
# NOT RUN {
## Stepwise variable selection with BIC
glm_fit <- fit(sale_amount ~ ., ICHomes, GLMStepAICModel(k = .(log(nobs))))
varimp(glm_fit)

# }

Run the code above in your browser using DataLab