#' Conversions
#'
#' S4 Converts a character to facor
#'
#' @name as
#' @family character
#' @aliases as,character
#' @import methods
methods::setAs( from='character', to='factor', function(from) factor(from) )
#' @name as
#' @family logical
methods::setAs( from="logical", to="factor", function(from) as.factor(from) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.