add_cyclic_datepart {fastai} | R Documentation |
Helper function that adds trigonometric date/time features to a date in the column 'field_name' of 'df'.
add_cyclic_datepart(
df,
field_name,
prefix = NULL,
drop = TRUE,
time = FALSE,
add_linear = FALSE
)
df |
df |
field_name |
field_name |
prefix |
prefix |
drop |
drop |
time |
time |
add_linear |
add_linear |
data frame