Skip to contents

Crop frequency series to a given range

Usage

cutoff_to(fs, ref, frange = NULL)

Arguments

fs

A `fs` object (frequency series).

ref

A vector with elements: `c(min, max)`, indicating index range.

frange

A vector of frequency range. `frange[1]` can be larger than `ref[1]` and `frange[2]` can be smaller than `ref[2]`, so as to consider the specific frequency range.

Value

A cropped `fs` object with preserved attributes.