unitstring {rtv}R Documentation

String Representations of Months and Weekdays

Description

The functions monthstring and dowstring, replace an integer representation of months and weekdays respectively with a string representation. The both call unitstring.

Usage

monthstring (x, ...)
dowstring (x, ...)
unitstring (x, levs, case="title", nletters=3)

Arguments

x A vector of integers.
levs Level names.
case Sets the cases, "upper", "lower" or anything else, for title case.
nletters Number of letters, defaults to 3, set to NA for all.
... Arguments for unitstring.

[Package rtv version 0.3.1 Index]