runsPlot {MCE}R Documentation

Runs Plot

Description

Plots the simulation result as a more replicates are added.

Usage

runsPlot(data, type = "mean", thin = 10, burnin = 1, digits = 1, truth = NULL, xAxis = NULL, yAxis = NULL, ...)

Arguments

data vector. replication results
type character. type of simulation result of interest including "mean", "SE", "PB" and "RE" for mean, standard error, percent bias and relative efficiency
thin numeric. will plot every nth simulation result
burnin numeric. number of replications to wait until plotting begins
digits
truth numeric. if type="PB" the true value.
xAxis vector. sequence of points to be included on the xaxis. Leaving as NULL the xaxis is calculated automatically.
yAxis vector. sequence of points to be included on the yaxis. Leaving as NULL the yaxis is calculated automatically.
... additional plot arguements

Author(s)

Sebastien Haneuse and Elizabeth Koehler

Examples

test <- matrix(rnorm(10000, mean=1))
runsPlot(test, type="mean")



[Package MCE version 1.0 Index]