Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

autoplot.regime_missing

regime_missing object ggplot for the outputs on the function outputs mtarmissing


Description

Produces a ggplot object for the results of the mtarmissing function.

Usage

## S3 method for class 'regime_missing'
autoplot(object, type = 1,...)

Arguments

object

Object of class “regim_missing”. Not NULL

type

character string giving the type of plot to be computed. Allowed values are 1 for "Missing data (Yt) chains" (the default) or 2 for “Missing data (Ut = [Zt,Xt]) chains”.

...

other arguments passed to specific methods

Details

Graph the strings for the outputs corresponding to the functions “mtarmissing” which return an object of class “regim_missing”. The chains corresponding to the samplings in each case do not contain the burning period.

Value

Return a ggplot object.

Author(s)

Valeria Bejarano vbejaranos@unal.edu.co & Andrey Rincon adrincont@unal.edu.co

References

Calderon, S. and Nieto, F. (2017) Bayesian analysis of multivariate threshold autoregress models with missing data. Communications in Statistics - Theory and Methods 46 (1):296–318. doi:10.1080/03610926.2014.990758.

See Also

Examples

library(ggplot2)
data('missingest')
autoplot.regime_missing(missingest,1)

BMTAR

Bayesian Approach for MTAR Models with Missing Data

v0.1.1
GPL (>= 2)
Authors
Valeria Bejarano Salcedo <vbejaranos@unal.edu.co>, Sergio Alejandro Calderon Villanueva <sacalderonv@unal.edu.co> Andrey Duvan Rincon Torres <adrincont@unal.edu.co>
Initial release
2021-01-18

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.