#' Factorize
#'
#' Coerce all columns in the object to `factor` (i.e. `stringsAsFactors`).
#'
#' @export
#' @inheritParams AcidRoxygen::params
#'
#' @seealso [encode()] for run-length encoding (Rle) approach.
#'
#' @return Modified object.
#' All columns will be coerced to `factor`.
#'
#' @examples
#' showMethods("factorize")
setGeneric(
name = "factorize",
def = function(object, ...) {
standardGeneric("factorize")
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.