Learn R Programming

dmbc (version 0.4.0)

plot,dmbc_data,ANY-method: Provide a graphical summary of a dmbc_data class instance.

Description

Provide a graphical summary of a dmbc_data class instance.

Usage

# S4 method for dmbc_data,ANY
plot(x, colors = c("white", "black"), font = NA, cex.font = NA, ...)

Arguments

x

An object of class dmbc_data.

colors

A character vector providing the colors to use in the plot.

font

A length-one numeric vector for the font to use for text. Can be a vector. NA values (the default) mean use par("font").

cex.font

A length-one numeric vector for the character expansion factor. NULL and NA are equivalent to 1.0. This is an absolute measure, not scaled by par("cex") or by setting ' par("mfrow") or par("mfcol"). Can be a vector.

...

Further arguments to pass on (currently ignored).

Examples

Run this code
# NOT RUN {
data(simdiss)
library(bayesplot)
cols <- color_scheme_set("brightblue")
plot(simdiss, colors = unlist(cols)[c(1, 6)], font = 1, cex.font = 0.75)
# }

Run the code above in your browser using DataLab