Plot Sigmas object

# S4 method for 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

data(guo) sigs <- find_sigmas(guo)
#> min_dist start step_size #> 6.8302965 0.8344396 0.1000000 #> | | | 0% | |========= | 12% | |================== | 25% | |========================== | 38% | |=================================== | 50% | |============================================ | 62% | |==================================================== | 75% | |============================================================= | 88% | |======================================================================| 100%
#> Warning: Fontmetrik ist für das Unicode-Zeichen U+27e8 unbekannt
#> Warning: Fontmetrik ist für das Unicode-Zeichen U+27e9 unbekannt
#> Warning: Fontmetrik ist für das Unicode-Zeichen U+27e8 unbekannt
#> Warning: Konvertierungsfehler für '⟨' in 'mbcsToSbcs': Punkt ersetzt <e2>
#> Warning: Konvertierungsfehler für '⟨' in 'mbcsToSbcs': Punkt ersetzt <9f>
#> Warning: Konvertierungsfehler für '⟨' in 'mbcsToSbcs': Punkt ersetzt <a8>
#> Warning: Fontmetrik ist für das Unicode-Zeichen U+27e9 unbekannt
#> Warning: Konvertierungsfehler für '⟩' in 'mbcsToSbcs': Punkt ersetzt <e2>
#> Warning: Konvertierungsfehler für '⟩' in 'mbcsToSbcs': Punkt ersetzt <9f>
#> Warning: Konvertierungsfehler für '⟩' in 'mbcsToSbcs': Punkt ersetzt <a9>
#> Warning: Fontmetrik ist für das Unicode-Zeichen U+27e8 unbekannt
#> Warning: Fontmetrik ist für das Unicode-Zeichen U+27e9 unbekannt
#> Warning: Fontmetrik ist für das Unicode-Zeichen U+27e8 unbekannt
#> Warning: Konvertierungsfehler für '⟨' in 'mbcsToSbcs': Punkt ersetzt <e2>
#> Warning: Konvertierungsfehler für '⟨' in 'mbcsToSbcs': Punkt ersetzt <9f>
#> Warning: Konvertierungsfehler für '⟨' in 'mbcsToSbcs': Punkt ersetzt <a8>
#> Warning: Fontmetrik ist für das Unicode-Zeichen U+27e9 unbekannt
#> Warning: Konvertierungsfehler für '⟩' in 'mbcsToSbcs': Punkt ersetzt <e2>
#> Warning: Konvertierungsfehler für '⟩' in 'mbcsToSbcs': Punkt ersetzt <9f>
#> Warning: Konvertierungsfehler für '⟩' in 'mbcsToSbcs': Punkt ersetzt <a9>
plot(sigs)
#> Warning: Fontmetrik ist für das Unicode-Zeichen U+27e8 unbekannt
#> Warning: Fontmetrik ist für das Unicode-Zeichen U+27e9 unbekannt
#> Warning: Fontmetrik ist für das Unicode-Zeichen U+27e8 unbekannt
#> Warning: Konvertierungsfehler für '⟨' in 'mbcsToSbcs': Punkt ersetzt <e2>
#> Warning: Konvertierungsfehler für '⟨' in 'mbcsToSbcs': Punkt ersetzt <9f>
#> Warning: Konvertierungsfehler für '⟨' in 'mbcsToSbcs': Punkt ersetzt <a8>
#> Warning: Fontmetrik ist für das Unicode-Zeichen U+27e9 unbekannt
#> Warning: Konvertierungsfehler für '⟩' in 'mbcsToSbcs': Punkt ersetzt <e2>
#> Warning: Konvertierungsfehler für '⟩' in 'mbcsToSbcs': Punkt ersetzt <9f>
#> Warning: Konvertierungsfehler für '⟩' in 'mbcsToSbcs': Punkt ersetzt <a9>
#> Warning: Fontmetrik ist für das Unicode-Zeichen U+27e8 unbekannt
#> Warning: Fontmetrik ist für das Unicode-Zeichen U+27e9 unbekannt
#> Warning: Fontmetrik ist für das Unicode-Zeichen U+27e8 unbekannt
#> Warning: Konvertierungsfehler für '⟨' in 'mbcsToSbcs': Punkt ersetzt <e2>
#> Warning: Konvertierungsfehler für '⟨' in 'mbcsToSbcs': Punkt ersetzt <9f>
#> Warning: Konvertierungsfehler für '⟨' in 'mbcsToSbcs': Punkt ersetzt <a8>
#> Warning: Fontmetrik ist für das Unicode-Zeichen U+27e9 unbekannt
#> Warning: Konvertierungsfehler für '⟩' in 'mbcsToSbcs': Punkt ersetzt <e2>
#> Warning: Konvertierungsfehler für '⟩' in 'mbcsToSbcs': Punkt ersetzt <9f>
#> Warning: Konvertierungsfehler für '⟩' in 'mbcsToSbcs': Punkt ersetzt <a9>