get_spectrum: Get AR spectrum

Description Usage Arguments Value

View source: R/utils.R

Description

Given a numeric vector, this function will return a spectrum with all pole AR model.

Usage

1
get_spectrum(values, sampling_rate = 100, nfreq = 500)

Arguments

values

A timeseries vector.

sampling_rate

Sampling rate of the signal (by default it is 100 Hz).

nfreq

Number of frequecy points to be interpolated.

Value

An AR spectrum.


Sage-Bionetworks/mhealthtools documentation built on Sept. 20, 2020, 1:42 p.m.