fdk_detect_outliers: Detect outliers in a time series

View source: R/fdk_detect_outliers.R

fdk_detect_outliersR Documentation

Detect outliers in a time series

Description

The function fills in the existing column to hold outlier flags, and either overwrites the original file or outputs a data structure.

Usage

fdk_detect_outliers(df, iterations = 20, sigma = 2, plot = FALSE)

Arguments

df

dataframe with dates (date) and values (value) to smooth

iterations

number of iterations in order to detect outliers

sigma

number of deviations to exclude outliers at

plot

visualize the process, mostly for debugging (TRUE / FALSE = default)


computationales/flux_data_kit documentation built on Feb. 23, 2025, 8:19 p.m.