set_holidays: Detect and set date variable interval

View source: R/inputs.R

set_holidaysR Documentation

Detect and set date variable interval

Description

Robyn only accepts daily, weekly and monthly data. This function is only called in robyn_engineering().

Usage

set_holidays(dt_transform, dt_holidays, intervalType)

Arguments

dt_transform

A data.frame. Transformed input data.

dt_holidays

A data.frame. Raw input holiday data.

intervalType

A character. Accepts one of the values: c("day","week","month")

Value

List. Containing the all spend-exposure model results.


Robyn documentation built on June 27, 2024, 9:06 a.m.