Skip to contents

Generates an S3 Histogram object

Usage

Histogram(
  histogram_data = double(),
  interval_start = numeric(),
  interval_end = numeric(),
  bin_width = numeric(),
  region_id = character()
)

Arguments

histogram_data

vector of counts/density

interval_start

numeric vector representing the starts of intervals

interval_end

numeric vector representing the ends of intervals

bin_width

numeric width of histogram bins, if missing, estimated from interval_start and interval_end

region_id

character identifier for the region of interest

Value

A Histogram object

Examples

x = Histogram(histogram_data = runif(10), interval_start = 1:10, interval_end = 2:11)