Learn R Programming

mbreaks (version 1.0.0)

plot_model: Plot structural change model

Description

plot_model() visualizes any object of class model with comparison between real, fitted values between model of m breaks and null model of 0 breaks with options for confidence interval of break date.

Usage

plot_model(model, CI = 0.95, title = NULL)

Value

No return value, called for plotting class model object. For more details on model class, see compile_model

Arguments

model

object of class model in mbreaks package

CI

confidence intervals for break date and coefficient estimates visualize in terms of fitted values

title

title of the graph

Examples

Run this code
rate = dofix('rate',data=real,fixn=2)
plot_model(rate,title='Ex-post US exchange rate')

Run the code above in your browser using DataLab