Learn R Programming

dse (version 2009.7-1)

tfplot.MonteCarloSimulations: Generate plots of Monte Carlo simulations

Description

Generate plots of Monte Carlo simulations.

Usage

## 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.

Value

  • None

concept

DSE

Details

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

See Also

distribution.MonteCarloSimulations

Examples

Run this code
data("eg1.DSE.data.diff", package="dse1")
model <- estVARXls(eg1.DSE.data.diff)
z <-  MonteCarloSimulations(model)
tfplot(z)

Run the code above in your browser using DataLab