um_rcs_group: A function to apply an RCS model to log data.

Description Usage Arguments Value

View source: R/um_rcs_group.R

Description

A function to apply an RCS model to log data.

Usage

1
um_rcs_group(time_sequency, count_log, knots = 3)

Arguments

time_sequency

A vector containing the list of day since the start of the recording.

count_log

A vector of number of visitor per day.

knots

The number of knots fitted to the knots. By default 3. A larger value may better fit log data with a long/complicated history, at the expense of being to overfitted to anomalous episode.

Value

The results of the SVM model. um_rcs_group(time_sequency, count_log, knots=3)


Dorialexander/UmbertoR documentation built on Feb. 13, 2020, 12:41 a.m.