Description Usage Arguments Details
View source: R/plot_comparison.R
plot_comparison
helps to visualize the transformation of your original
time series into a subsequent, cleaner version.
1 | plot_comparison(data, time, pre, post, trial = NULL)
|
data |
Data frame containing both time series. |
time |
Name of variable that gives time units. |
pre |
Name of variable containing the pre-processed time series. |
post |
Name of variable containing the post-processed time series. |
trial |
If the data contains multiple time series, name of the variable
that identifies each time series. Will be plotted using |
Use this plotting function to evaluate the performance of the
fix_artifacts
, normalize
, and/or
low_pass_filter
functions on cleaning your time series. Note
that if your original and cleaned time series are at different scales (e.g.,
if you are comparing a pre-normed version to a post-normed version),
the original time series will be projected to the scale of
the cleaned time series.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.