Learn R Programming

monitoR (version 1.0.3)

cutw: 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

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