applySGolayFilter: apply a sgolay filter groupwise to data in a dbplyr dataframe...

View source: R/dbplyHelper.R

applySGolayFilterR Documentation

apply a sgolay filter groupwise to data in a dbplyr dataframe in SQL friendly manner

Description

apply a sgolay filter groupwise to data in a dbplyr dataframe in SQL friendly manner

Usage

applySGolayFilter(df, continuousVar, outputVar, k_05, p, m)

Arguments

df

- a potentially grouped data frame with continuous observations

continuousVar

- the column containing the samples

outputVar

- the column to write the filter result

k_05

- the half value of the filter width

p

- the filter order

m

- the mth derivative

Value

a summarised dataframe including group info, the continuous variable and an output variable representing the filtered value


terminological/tidy-info-stats documentation built on Nov. 19, 2022, 11:23 p.m.