Description Usage Arguments Value Examples
View source: R/data_analysis.R
Compares moving averages of a variable for two datasets over time, grouped by GPS GPS, Date, and col columns should match
1 | line_compare(correct, candidate, col, export = FALSE, out = NULL)
|
correct |
reference data frame |
candidate |
data frame to be compared to the reference |
col |
variable to plot the moving average for |
export |
logical, whether to export plot, defaults to False |
out |
.png file name to save plot when export is True |
faceted line plot of moving averages over time grouped by GPS
1 2 3 4 | # Faceted line plot comparing moving averages over time
# grouped by GPS for unfiltered and filtered demo data
## Set distance as the y axis
line_compare(demo_unfiltered, demo_filtered, Distance)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.