cutWave: Extract Shorter Wave Objects from other Wave Objects

Description Usage Arguments Details Value Author(s) Examples

View source: R/cutWave.R

Description

Extract shorter Wave objects from other Wave objects. Extracted wave object will be between the from and to boundaries.

Usage

1
cutWave(wave, from = NULL, to = NULL)

Arguments

wave

Object of class Wave.

from

Start extracted segment from this point, in seconds from beginning of Wave object.

to

End of extracted segment, in seconds from beginning of Wave object.

Details

This function is a simplified version of cutw from the seewave package. Its original name in the monitoR was the same (cutw), but has since been changed to avoid conflict for those who use both packages.

Value

An object of class Wave.

Author(s)

Sasha D. Hafner

Examples

1
2
3
data(survey)

event1 <- cutWave(wave = survey, from = 1.5, to = 4.75)

monitoR documentation built on May 1, 2019, 6:28 p.m.