applySGolayFilter | R Documentation |
apply a sgolay filter groupwise to data in a dbplyr dataframe in SQL friendly manner
applySGolayFilter(df, continuousVar, outputVar, k_05, p, m)
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 |
a summarised dataframe including group info, the continuous variable and an output variable representing the filtered value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.