View source: R/solve_functions.R
solve_model
Returns the trend
1 | solve_model(model, solver, y = NULL, trend = TRUE)
|
model |
model object containing coefficients and constraints |
solver |
solver to be used, options are "gurobi", "Rglpk", and "lpSolve" |
y |
vector of observations, only needed if trend = TRUE |
trend |
if TRUE returns trend, if FALSE returns residuals |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.