#' Bind factors nicely
#'
#' This makes nice factor combos
#'
#' @param a A factor
#' @param b A factor
#'
#' @return A factor
#' @export
#'
#' @examples
#' a <- factor(c("hi", "there"))
#' b <- factor(c("what's", "up"))
#' fbind(a, b)
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.