plot_LOF_hist: Plot histogram of LOF values

plot_LOF_histR Documentation

Plot histogram of LOF values

Description

Plot histogram of LOF values

Usage

plot_LOF_hist(
  LOF,
  LOF_threshold = 10,
  breaks = "Sturges",
  col = "tomato3",
  x = "topright",
  y = NULL
)

Arguments

LOF

- either "LOF_obj" object or vector with LOF values.

breaks

one of:

  • a vector giving the breakpoints between histogram cells,

  • a function to compute the vector of breakpoints,

  • a single number giving the number of cells for the histogram,

  • a character string naming an algorithm to compute the number of cells (see ‘Details’),

  • a function to compute the number of cells.

In the last three cases the number is a suggestion only; as the breakpoints will be set to pretty values, the number is limited to 1e6 (with a warning if it was larger). If breaks is a function, the x vector is supplied to it as the only argument (and the number of breaks is only limited by the amount of available memory).

col

a colour to be used to fill the bars. The default used to be NULL (unfilled bars) in R versions before 4.0.0.

x, y

position of legend. See legend.

See Also

Other LOF_obj: get_LOF_by_class(), plot_LOF_MDS(), plot_LOF_sp(), plot_stacked()


GegznaV/spHelper documentation built on April 16, 2023, 1:42 p.m.