R/fbind.R

Defines functions fbind

Documented in fbind

#' 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)))
}
Santinule/testpackage documentation built on Feb. 25, 2021, 2:03 p.m.