TITLE(Constants @@ Built-in Constants)
USAGE(
LETTERS
letters
month.abb
month.name
pi
)
ALIAS(LETTERS)
ALIAS(letters)
ALIAS(month.abb)
ALIAS(month.name)
ALIAS(pi)
VALUES(
R has a limited number of built-in constants.
(there is also a rather larger library of data sets
which can be loaded with the function LANG(data)).
PARA
The following constants are available:
@@
ARG(LETTERS @@
the 26 upper-case letters of the Roman alphabet;)
ARG(letters @@
the 26 lower-case letters of the Roman alphabet;)
ARG(month.abb @@
the three-letter abbreviations for the English month-names;)
ARG(month.name @@ The English names for the months of the year;)
ARG(pi @@ the ratio of the circumference of a circle to its diameter.)
)
SEEALSO(
LANG(LINK(data)).
)
EXAMPLES(
all(nchar(letters) == 1)# TRUE
all(month.abb == substring(month.name,1,3))# TRUE
)
