histogram_mode: Mode of a data vector from software package 'hctsa'

Description Usage Arguments Value Author(s) References

View source: R/compengine.R

Description

Measures the mode of the data vector using histograms with a given number of bins as suggestion. The value calculated is different from hctsa and CompEngine as the histogram edges are calculated differently.

Usage

1
histogram_mode(y, numBins = 10)

Arguments

y

the input data vector

numBins

the number of bins to use in the histogram.

Value

the mode

Author(s)

Yangzhuoran Yang

References

B.D. Fulcher and N.S. Jones. hctsa: A computational framework for automated time-series phenotyping using massive feature extraction. Cell Systems 5, 527 (2017).

B.D. Fulcher, M.A. Little, N.S. Jones Highly comparative time-series analysis: the empirical structure of time series and their methods. J. Roy. Soc. Interface 10, 83 (2013).


tsfeatures documentation built on July 1, 2020, 7:12 p.m.