Description Usage Arguments Value Examples
Generates features based on columns of date type. Creates year, month and day features both numeric and factor.
1  | generate.date.features(data, date.variables, overwrite = FALSE)
 | 
data | 
 data frame of interest  | 
date.variables | 
 vector of date variable names  | 
overwrite | 
 let function overwrite already existing variables with the same names  | 
data frame with new generated variables
1  | df <- generate.date.features(df, c('date1','date2'))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.