R/llevels.R

#' @title Numeric Levels of an lfactor
#'
#' @description \code{llevels} gives the numeric levels of an lfactor.
#'
#' @param x object of class lfactor
#'
#' @return
#' A vector of levels
#'
#' @seealso \ifelse{latex}{\code{levels}}{\code{\link[base]{levels}}}
#' 
#' @export
llevels <- function(x) {
  attr(x,"llevels")
}

Try the lfactors package in your browser

Any scripts or data that you put into this service are public.

lfactors documentation built on May 2, 2019, 8:29 a.m.