R/factor_utils.R

Defines functions fbind

Documented in fbind

#' bind two factors
#'
#' Create new factor from two factors
#'
#' @param a factor
#' @param b factor
#'
#' @return
#' @export
#'
#' @examples
fbind <- function(a, b) {
  factor(c(as.character(a), as.character(b)))
}
Paul-Yuchao-Dong/foofactors2 documentation built on Feb. 2, 2020, 12:03 a.m.