gof_histogram: A generic function for histograms

View source: R/gof.R

gof_histogramR Documentation

A generic function for histograms

Description

A generic function for histograms

Usage

gof_histogram(
  data,
  x,
  bins = 20,
  labels = gof_labels(),
  symm_x = if (isTRUE(log_x)) 1 else 0,
  log_x = F
)

Arguments

data

A data.frame.

x

A numeric vector, evaulated within data.

bins

Number of bins to use for the histogram.

labels

A named list of labels.

symm_x

A number of NULL. If a number, the x-axis will be symmetric, centered around this number.

log_x

If TRUE then log-scale will be used for the x-axis.

Value

A ggplot object.


certara/ggcertara documentation built on Feb. 28, 2024, 5:01 a.m.