Learn R Programming

timeDate (version 4041.110)

names-methods: The names of a 'timeDate' object

Description

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

Usage

# S4 method for timeDate
names(x)
# S4 method for 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