Learn R Programming

tuneR (version 1.4.7)

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)

Value

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

Arguments

object

An object of Wave-class.

Author

Uwe Ligges ligges@statistik.tu-dortmund.de, Sarah Schnackenberg

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
x <- sine(440)
updateWave(x)

Run the code above in your browser using DataLab