Nothing
#--- Convert factor to numeric function ---#
#'@title Converts factor vectors to numeric vectors
#'@description Converts factor vectors to numeric vectors.
#'@author Charles Crabtree \email{ccrabtr@umich.edu}
#'@param x A vector.
#'@return A numeric vector.
#'@examples
#'x <- c("1", "2", "3")
#'x <- as.factor(x)
#'x
#'x <- makefacnum(x)
#'x
#'is.numeric(x)
#'@export
makefacnum <- function(x) {
as.numeric(as.character(x))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.