tfplot.MonteCarloSimulations: Generate plots of Monte Carlo simulations

Description Usage Arguments Details Value See Also Examples

View source: R/EvalEst.R

Description

Generate plots of Monte Carlo simulations.

Usage

1
2
3
4
5
6
    ## S3 method for class 'MonteCarloSimulations'
tfplot(x, 
    tf=tframe(x$simulations), start=tfstart(tf), end=tfend(tf),
    series=seq((dim(x$simulations)[2])), 
    select.simulations=seq(dim(x$simulations)[3]),
    graphs.per.page=5, mar=par()$mar, ...)

Arguments

x

The result of MonteCarloSimulations.

tf

The time frame for plots. see tfplot.

start

The starting period for plots, taken from tf by default.

end

The ending period for plots, taken from tf by default.

series

The series which should be plotted. The default NULL gives all series.

select.simulations

Vector of integers indicating the simulations which should be plotted. The default plots all simulations.

graphs.per.page

The number of graphs to put on a page.

mar

Plot margins (see par).

...

arguments passed to other methods.

Details

This function produces plots of the simulated series. Output graphics can be paused between pages by setting par(ask=TRUE).

Value

None

See Also

distribution.MonteCarloSimulations

Examples

1
2
3
4
data("eg1.DSE.data.diff", package="dse")
model <- estVARXls(eg1.DSE.data.diff)
z <-  MonteCarloSimulations(model)
tfplot(z)

Example output

Loading required package: tfplot
Loading required package: tframe
Loading required package: dse

Attaching package: 'dse'

The following objects are masked from 'package:stats':

    acf, simulate

EvalEst documentation built on March 3, 2021, 1:14 a.m.