Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

add_cyclic_datepart

Add cyclic datepart


Description

Helper function that adds trigonometric date/time features to a date in the column 'field_name' of 'df'.

Usage

add_cyclic_datepart(
  df,
  field_name,
  prefix = NULL,
  drop = TRUE,
  time = FALSE,
  add_linear = FALSE
)

Arguments

df

df

field_name

field_name

prefix

prefix

drop

drop

time

time

add_linear

add_linear

Value

data frame


fastai

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.