add_cyclic_datepart: Add cyclic datepart

Description Usage Arguments Value

View source: R/tabular_transform.R

Description

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

Usage

1
2
3
4
5
6
7
8
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 documentation built on July 28, 2021, 5:06 p.m.