quote: Quote Operator

Description Usage Arguments Value See Also Examples

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

1
.(expr)

Arguments

expr

any syntactically valid R expression.

Value

The quoted (unevaluated) expression.

See Also

quote

Examples

1
2
3
## Stepwise variable selection with BIC
glm_fit <- fit(sale_amount ~ ., ICHomes, GLMStepAICModel(k = .(log(nobs))))
varimp(glm_fit)

MachineShop documentation built on Oct. 1, 2021, 5:06 p.m.