Learn R Programming

lares (version 4.8.4)

formatTime: Auto Detect Time-Date Format

Description

This function tries to detect which format is your date value and returns a valid time class or same values if non-found.

Usage

formatTime(vector)

Arguments

vector

Vector containing dates or timestamps

See Also

Other Data Wrangling: balance_data(), categ_reducer(), cleanText(), date_cuts(), date_feats(), dateformat(), formatNum(), holidays(), impute(), left(), normalize(), numericalonly(), ohe_commas(), ohse(), rbind_full(), removenacols(), removenarows(), replaceall(), right(), textFeats(), textTokenizer(), vector2text(), year_month(), year_week()