Learn R Programming

monitoR (version 1.0.4)

cutw: Deprecated Function to Extract Shorter Wave Objects from other Wave Objects

Description

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

Usage

cutw(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.

Value

An object of class Wave.

Details

This function is a simplified version of cutw from the seewave pacakge. This function is deprecated. Please use the identical replacement cutWave instead.

Examples

Run this code
data(survey)

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

Run the code above in your browser using DataLab