Learn R Programming

linea (version 0.1.1)

fit_chart: fit_chart

Description

Dependent Variable, Predictions and Residuals Line Chart

Usage

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

Value

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

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.

Examples

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

Run the code above in your browser using DataLab