R/length.R

setMethod("length", signature(x = "Wave"), 
function(x){
    validObject(x)
    length(x@left)
})

setMethod("length", signature(x = "WaveMC"), 
function(x){
    validObject(x)
    nrow(x@.Data)
})

Try the tuneR package in your browser

Any scripts or data that you put into this service are public.

tuneR documentation built on May 29, 2024, 11:28 a.m.