diffHistogram: Histogram of differences

Description Usage Arguments Value Author(s) Examples

View source: R/RcppExports.R

Description

Given a vector, this function calculates the histogram of the non-zero and absolute differences of a given vector taking into account a Dnu

Usage

1
diffHistogram(frequences, dnu)

Arguments

frequences

Armadillo vector with frequences

dnu

Numeric value for the spectral resolution

Value

A list with bins and values representing an histogram

Author(s)

Roberto Maestre

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# simple call:
differences(c(1,2,3,4,5))
# simple call returning an empty vector because all 
# differences are equal to 0:
differences(rep(1,10))


## End(Not run)

rmaestre/variableStars documentation built on April 11, 2020, 11:10 p.m.