R/length.R

#' S4 generic for length
#'
#' S4 generic for length.
#'
#' @param x a 'tuneR' WAVE object
#'
#' @returns The length of the left channel of the WAVE object
#'
#' @seealso length

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

Try the retimer package in your browser

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

retimer documentation built on April 4, 2025, 2:04 a.m.