prophet_detect_outliers: Detect outliers using Grubbs test.

Description Usage Arguments Value Examples

View source: R/prophet_detect_outliers.R

Description

Detect outliers using Grubbs test.

Usage

1
prophet_detect_outliers(model, p_limit = 0.05, recursive = TRUE)

Arguments

model

Prophet model object.

p_limit

Numeric, limit of p-value for Grubbs test. Default 0.05.

recursive

Logical, whether to search recursively. Default TRUE.

Value

A data frame consists of ds, y, residuals and p values.

Examples

1
2
3
4
5
## Not run: 
m <- prophet(df)
prophet_detect_outliers(m)

## End(Not run)

hoxo-m/prophetExt documentation built on Jan. 18, 2021, 11:12 a.m.