Learn R Programming

DAMisc (version 1.7.2)

plot.balsos: Plot Results from BALSOS

Description

Plots the optimally scaled points with posterior 95% credible intervals.

Usage

# S3 method for balsos
plot(x, ..., freq = TRUE, offset = 0.1, plot = TRUE)

Arguments

x

Object of class balsos.

...

Other arguments to be passed down, currently not implement and may conflict with the lattice figure. To change the figure the best advice would be to save the plot as an oject and use the update function to change its features.

freq

Logical indicating whether you want the frequentist result plotted alongside the Bayesian result.

offset

If freq=T, the Bayesian points will be plotted at x-offset and the frequentist points will be plotted at x+offset.

plot

Logical indicating whether the plot should be returned or just the data.

Value

A lattice graph produce by a call to xyplot.