plot.shrinkTPR: Graphical summary of posterior of theta
Description
plot.shrinkTPR generates a boxplot visualizing the posterior distribution of
theta obtained from a fitted shrinkTPR object.
Usage
# S3 method for shrinkTPR
plot(x, nsamp = 1000, ...)
Value
Called for its side effects. Returns invisible(NULL).
Arguments
x
a shrinkTPR object.
nsamp
a positive integer specifying the number of posterior samples to draw for plotting.
The default is 1000.
...
further arguments passed to the internal boxplot function,
such as axis labeling or plotting options. By default, las = 2 is used unless explicitly
overridden by the user.
# \donttest{# Simulate and fit a shrinkTPR model, then plot:sim <- simGPR()
mod <- shrinkTPR(y ~ ., data = sim$data)
plot(mod)
## Change axis label orientationplot(mod, las = 1)
# }