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 2, 2019, 6:15 p.m.