unHistogram: Histogram to Vector

View source: R/spectralUtils.R

unHistogramR Documentation

Histogram to Vector

Description

If vec represents a set of binned counts of incrementing values (ascending) return a vector of associated bin values with the proper count of each value. Intended for internal use.

Usage

unHistogram(vec, startVal, incr)

Arguments

vec

a histogram vector or ordered set of binned counts

startVal

the initial value of the first bin element

incr

the increment rate of each subsequent bin value

Value

A vector of bin values with appropriate counts of each.

Author(s)

Rob Casey rob@iris.washington.edu


IRISSeismic documentation built on Oct. 16, 2022, 1:09 a.m.