plot.Sigmas | R Documentation |
Plot Sigmas object
## S4 method for signature 'Sigmas,missing'
plot(
x,
col = par("fg"),
col_highlight = "#E41A1C",
col_line = "#999999",
type = c("b", "b"),
pch = c(par("pch"), 4L),
only_dim = FALSE,
...,
xlab = NULL,
ylab = NULL,
main = ""
)
x |
Sigmas object to plot |
col |
Vector of bar colors or single color for all bars |
col_highlight |
Color for highest bar. Overrides col |
col_line |
Color for the line and its axis |
type |
Plot type of both lines. Can be a vector of length 2 to specify both separately (default: 'b' aka “both lines and points”) |
pch |
Point identifier for both lines. Can be a vector of length 2 to specify both separately (default: |
only_dim |
logical. If TRUE, only plot the derivative line |
... |
Options passed to the call to plot |
xlab |
X label. NULL to use default |
ylab |
Either one y label or y labels for both plots. NULL to use both defauts, a NULL in a list of length 2 to use one default. |
main |
Title of the plot |
This method plots a Sigma object to the current device and returns nothing/NULL
data(guo)
sigs <- find_sigmas(guo)
plot(sigs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.