R/rbind.mvabund.R

Defines functions rbind.mvabund

Documented in rbind.mvabund

###############################################################################
## rbind.mvabund: combine two or more mvabund object columnwise to another 	  #
## mvabund object                                                             #
###############################################################################
rbind.mvabund <- function(..., deparse.level = 1) {
objects <- list(...)

objects <- lapply(objects, function(x) {
       unabund(x)
    })

mrbind <-  do.call( "rbind", c(objects ,deparse.level=deparse.level))

return(as.mvabund(mrbind))

}

Try the mvabund package in your browser

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

mvabund documentation built on March 18, 2022, 7:25 p.m.