#' Combine levels of two factors
#'
#' @param a a factor
#' @param b a factor
#'
#' @return return a factor with the levels of a and b
#' @export fbind
#'
#' @examples
fbind <- function(a, b) {
factor(c(as.character(a), as.character(b)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.