fit_chart: fit_chart

View source: R/charting.R

fit_chartR Documentation

fit_chart

Description

Dependent Variable, Predictions and Residuals Line Chart

Usage

fit_chart(
  model = NULL,
  decomp_list = NULL,
  pool = NULL,
  verbose = FALSE,
  colors = NULL
)

Arguments

model

Model object

decomp_list

list object generated by the decomping function.

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

Details

Plot the dependent variable, predictions and Residuals as a line chart over the id variable which can be supplied to the decomping function.

Value

a plotly line chart of the model's prediction and actual

Examples

run_model(data = mtcars,dv = 'mpg',ivs = 'cyl') %>% fit_chart()

linea documentation built on Sept. 15, 2022, 9:06 a.m.