runsPlot {MCE} | R Documentation |
Plots the simulation result as a more replicates are added.
runsPlot(data, type = "mean", thin = 10, burnin = 1, digits = 1, truth = NULL, xAxis = NULL, yAxis = NULL, ...)
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 |
Sebastien Haneuse and Elizabeth Koehler
test <- matrix(rnorm(10000, mean=1)) runsPlot(test, type="mean")