quote {MachineShop} | R Documentation |
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)
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.
Value
The quoted (unevaluated) expression.
See Also
Examples
## Stepwise variable selection with BIC
glm_fit <- fit(sale_amount ~ ., ICHomes, GLMStepAICModel(k = .(log(nobs))))
varimp(glm_fit)
[Package MachineShop version 3.7.0 Index]