plot.disag_model {disaggregation}R Documentation

Plot results of fitted model

Description

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

Usage

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

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.

Value

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


[Package disaggregation version 0.4.0 Index]