plot.Sigmas: Plot Sigmas object

Description Usage Arguments Value Examples

Description

Plot Sigmas object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## 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 = ""
)

Arguments

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: par(pch) and 4 (a ‘\times’))

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

Value

This method plots a Sigma object to the current device and returns nothing/NULL

Examples

1
2
3
data(guo)
sigs <- find_sigmas(guo)
plot(sigs)

destiny documentation built on Nov. 8, 2020, 7:38 p.m.

Related to plot.Sigmas in destiny...