Learn R Programming

frequencyConnectedness (version 0.1.6)

collapseBounds: Collapsing bounds into less elements

Description

Given that your estimate is saved as an object from makeStructure function this function allows you to collapse the estimates from several bounds. Esentially, the GFEVD is linear in frequencies so we can just sum up parts of the object. It is especially useful, when we have estimated too many bounds and want to use only several of them. This function is especially useful for plotting. See github for examples.

Usage

collapseBounds(estimate, index_start, index_end)

Arguments

estimate

the object of class connectedness_estimate

index_start

from where to start collapsing

index_end

where to end the collapsing

Value

object of class connectedness_estimate