Learn R Programming

disaggregation (version 0.4.0)

plot.disag_model: Plot results of fitted model

Description

Plotting function for class disag_model (the result of the disaggregation fitting).

Usage

# S3 method for disag_model
plot(x, include_iid = FALSE, ...)

Value

A list of two ggplot plots: results of the fixed effects and an in-sample observed vs predicted plot

Arguments

x

Object of class disag_model to be plotted.

include_iid

logical. Whether or not to include predictions that include the IID effect.

...

Further arguments to plot function.

Details

Produces two plots: results of the fixed effects and in-sample observed vs predicted plot.