eval_plot_breaks: Algorithmic options for number of breaks to use for plotting

View source: R/eval_plot_breaks.R

eval_plot_breaksR Documentation

Algorithmic options for number of breaks to use for plotting

Description

Function to aid in determining what breaks to use for plotting. Wrapper function for classint::classIntervals.

Usage

eval_plot_breaks(
  CPUE,
  n.breaks,
  styles = c("equal", "pretty", "quantile", "kmeans", "hclust", "fisher", "jenks",
    "dpih"),
  log.scale.plot = FALSE
)

Arguments

CPUE

Vector of CPUE data

n.breaks

Number of breaks to use

styles

Character vector with names, or names of methods to try.

log.scale.plot

If TRUE, CPUE values are transformed as log10(CPUE+1) for plotting. Default = FALSE

Value

Returns a data frame showing breaks for each style.

Author(s)

Sean Rohan sean.rohan@noaa.gov


afsc-gap-products/akgfmaps documentation built on April 14, 2025, 7:13 p.m.