MachineShop (version 3.7.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.

Usage

.(expr)

Value

The quoted (unevaluated) expression.

Arguments

expr

any syntactically valid R expression.

Details

Useful for calling model functions with quoted parameter values defined in terms of one or more of the following variables.

nobs

number of observations in data to be fit.

nvars

number of predictor variables.

y

the response variable.

See Also

Examples

Run this code
## 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