Learn R Programming

timeDate (version 2120.90)

names-methods: The Names of a timeDate Object

Description

Functions to get or set the names of a timeDate object.

Usage

## S3 method for class 'timeDate':
names(x)
## S3 method for class 'timeDate':
names(x) <- value

Arguments

x
an object of class timeDate.
value
a character vector of up to the same length as 'x', or 'NULL'.

Examples

Run this code
td <- timeCalendar()
td
names(td) <- LETTERS[seq_along(td)]
td

Run the code above in your browser using DataLab