R/rbind.mvabund.R

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