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
.
.(expr)
any syntactically valid R expression.
The quoted (unevaluated) expression.
# 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