getPartition: Get a list of indeces corresponding to parts of frequency...

View source: R/tools.R

getPartitionR Documentation

Get a list of indeces corresponding to parts of frequency partition

Description

This function takes in a vector of numbers denoting the breaks in partition of an interval and returns a list of indeces that correspond to indeces that are contained within an individual intervals. The individual parts then contain (a,b] for all pairs in the interval. Hence if you want pi to be included, the partition should start with something slightly bigger than pi.

Usage

getPartition(partition, n.ahead)

Arguments

partition

breaking points of partition of frequency interval, should be ordered decreasingly.

n.ahead

how many observations is the FFT done on.

Value

a list of vectors of indeces corresponding to individual partitions

Author(s)

Tomas Krehlik tomas.krehlik@sorgmail.com


frequencyConnectedness documentation built on March 7, 2023, 6:39 p.m.