Learn R Programming

timetk (version 2.6.1)

is_date_class: Check if an object is a date class

Description

Check if an object is a date class

Usage

is_date_class(x)

Arguments

x

A vector to check

Value

Logical (TRUE/FALSE)

Examples

Run this code
# NOT RUN {
library(dplyr)

tk_make_timeseries("2011") %>% is_date_class()

letters %>% is_date_class()


# }

Run the code above in your browser using DataLab