#' Combine two factors, including levels.
#'
#' @param a `factor`
#' @param b `factor`
#'
#' @return `factor`, combined `a` and `b` including levels.
#' @export
#'
#' @examples
#' fbind(iris$Species, Puromycin$state)
#'
fbind <- function(a, b) {
forcats::fct_c(a, b)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.