Description Usage Arguments Value Examples
View source: R/data_analysis.R
Compares two animal data frames and calculates summary statistics. GPS, date, lat, long, course, distance, rate, elevation column names should match.
| 1 2 3 4 5 6 7 8 | compare_summarise_data(
  correct,
  candidate,
  use_elev = TRUE,
  export = FALSE,
  gps_out = NULL,
  date_out = NULL
)
 | 
| correct | reference data frame | 
| candidate | data frame to be compared to the reference | 
| use_elev | logical, whether to include elevation in summary, defaults to True | 
| export | logical, whether to export summaries to .csv, defaults to False | 
| gps_out | desired file name of .csv output summary by GPS collar when export is True | 
| date_out | desired file name of .csv output summary by date when export is True | 
list containing gps_out and date_out as data frames
| 1 2 | # Compare and summarise unfiltered demo cows to filtered 
compare_summarise_data(demo_unfiltered_elev, demo_filtered_elev)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.