do_problems | R Documentation |
Solve Problems Given a Linear Model
do_problems(instance, ..., more_subs = list(), .print = TRUE)
instance |
A |
... |
Expressions or symbols to evaluate after substitution in the context of |
more_subs |
Passed directly to |
.print |
Logical. Should the results be printed (useful if the output goes in an Rmarkdown file), or returned as a list? |
This function takes arbitrary expressions via ...
and evaluates them in the context of a LinRegProblem
instance. The results are simply printed, if print
is TRUE
, and otherwise returned as a list.
Because substitute_call
will complete partial calls, this allows for compact specification of solutions.
NULL
if .do_print
is TRUE
, otherwise a list containing results of the expressions.
X <- LinRegProblem(mtcars[, -1], mtcars[, 1], Y_transform = scale) do_problems(X, regression_relation())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.