R/constants.R

#' Constants
#'
#' \code{constant_months}A constant for ordered month names.
#'
#' @keywords datasets
#' @name constant_months
#' @rdname constants
#' @export
constant_months <- month.name

#' Constants
#'
#' \code{constant_months_abbreviation} - A constant for ordered month abbreviations.
#'
#' @keywords datasets
#' @name constant_months_abbreviation
#' @rdname constants
#' @export
constant_months_abbreviation <- month.abb

#' Constants
#'
#' \code{constant_weekdays} - A constant for ordered weekdays.
#'
#' @keywords datasets
#' @name constant_weekdays
#' @rdname constants
#' @export
constant_weekdays <- c("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")


#'
#' \code{constant_weekdays_abbreviatio} - A constant for ordered weekday abbreviations.
#'
#' @keywords datasets
#' @name constant_weekdays_abbreviatio
#' @rdname constants
#' @export
constant_weekdays_abbreviation <- c("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat")


#' Constants
#'
#' \code{constant_quarters} - A constant for ordered quarters.
#'
#' @keywords datasets
#' @name constant_quarters
#' @rdname constants
#' @export
constant_quarters <- paste0('Q', 1:4)

Try the numform package in your browser

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

numform documentation built on May 2, 2019, 6:31 a.m.