FrequencyScreePlot: Scree plot-like graph of most common frequencies

View source: R/FrequencyScreePlot.R

FrequencyScreePlotR Documentation

Scree plot-like graph of most common frequencies

Description

Produce a scree plot-like graph to determine number of frequency components

Usage

FrequencyScreePlot(freq.table, spikes = NULL, n = length(spikes))

Arguments

freq.table

a named numeric vector in which the names are the frequencies and the values are the counts of spike trains in which those frequencies are among the highest peaks in the periodogram. This vector is typically output by FindTopFrequencies().

spikes

(= NULL) a list of spike trains. Can be omitted if n is given.

n

(= length(spikes)) the number of spike trains analyzed by FindTopFrequencies()

Value

the freq.table argument (invisibly)


dpwynne/mmnst documentation built on Aug. 1, 2023, 8:08 a.m.