tuneR (version 1.3.3)

updateWave: Update old Wave objects for use with new versions of tuneR

Description

Update old Wave objects generated with tuneR < 1.0.0 to the new class definition for use with new versions of the package.

Usage

updateWave(object)

Arguments

object

An object of Wave-class.

Value

An object of Wave-class as implemented in tuneR versions >= 1.0-0.

Details

This function is only needed to convert Wave-class objects that have been saved with tuneR versions prior to 1.0-0 to match the new class definition.

See Also

Wave-class, Wave

Examples

Run this code
# NOT RUN {
x <- sine(440)
updateWave(x)
# }

Run the code above in your browser using DataCamp Workspace