Nothing
#' rbind
#'
#' Concatenate multiple phyDat objects
#'
#' @param ... a list of phyDat objects
#' @param deparse.level see definition in generic rbind
#'
#' @return a phyDat object
#'
#' @export
#'
setMethod(
'rbind',
signature(
... = 'phyDat'
),
function(
...,
deparse.level = 1
){
# need to make sure that the levels of each phyDat are the same
x <- list(...)
lv <- levels(x[[1]])
do.call('rbind', lapply(x, as.character)) %>% phyDat(type = 'USER', levels = lv)
}
) # rbind
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.