fit_chart | R Documentation |
Dependent Variable, Predictions and Residuals Line Chart
fit_chart( model = NULL, decomp_list = NULL, pool = NULL, verbose = FALSE, colors = NULL )
model |
Model object |
decomp_list |
list object generated by the |
pool |
string specifying a group within the pool column to be filtered |
verbose |
A boolean to specify whether to print warnings |
colors |
character vector of colors in hexadecimal notation |
Plot the dependent variable, predictions and Residuals as a line chart over the id variable which can be supplied to the decomping
function.
a plotly
line chart of the model's prediction and actual
run_model(data = mtcars,dv = 'mpg',ivs = 'cyl') %>% fit_chart()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.