um_rcs_anomalies: A function to retrieve the anomalous ratio using the contrast...

Description Usage Arguments Value Examples

View source: R/um_rcs_anomalies.R

Description

A function to retrieve the anomalous ratio using the contrast with the predicted value in the rcs model. The function is preferably used within do or map.

Usage

1
um_rcs_anomalies(fit, count_log, time_sequency, knots = 3)

Arguments

fit

An rcs model already fitted to the aggregated logs.

count_log

A vector of number of aggregated logs

time_sequency

A vector containing a time sequence (usually days) on which the aggregation has been performed.

knots

The number of knots fitted to the knots

Value

A vector of confidence interval in regards to the model.

Examples

1
 um_rcs_anomalies(fit, count_log, time_sequency, knots)

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