SelectTopFrequencies: Select top frequencies

View source: R/SelectTopFrequencies.R

SelectTopFrequenciesR Documentation

Select top frequencies

Description

Identifies the K frequencies that appear most often in a given list of spike trains.

Usage

SelectTopFrequencies(f.sorted, K, user.select = FALSE)

Arguments

f.sorted

a sorted table. The names of the table, in order, are the most common frequencies in the periodograms of the individual spike trains. This is usually output by the FindTopFrequencies() function.

K

a scalar determining the number of periodic components to include in the model.

user.select

whether to allow manual (user) control over accepting the identified frequencies. By default this is FALSE to allow running in batch mode.

Value

A numeric vector containing the K frequencies among the peaks of the (smoothed) periodogram which appear the most in the spike trains.


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