Learn R Programming

timetk (version 2.9.0)

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)

Value

Logical (TRUE/FALSE)

Arguments

x

A vector to check

Examples

Run this code
library(dplyr)

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

letters %>% is_date_class()


Run the code above in your browser using DataLab