Learn R Programming

lares (version 4.7)

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, calibrate, categ_reducer, cleanText, date_feats, dateformat, formatNum, holidays, impute, left, normalize, numericalonly, ohse, one_hot_encoding_commas, rbind_full, removenacols, removenarows, replaceall, right, textFeats, textTokenizer, vector2text, year_month, year_week