compare_summarise_data {animaltracker}R Documentation

Compares two animal data frames and calculates summary statistics. GPS, date, lat, long, course, distance, rate, elevation column names should match.

Description

Compares two animal data frames and calculates summary statistics. GPS, date, lat, long, course, distance, rate, elevation column names should match.

Usage

compare_summarise_data(
  correct,
  candidate,
  use_elev = TRUE,
  export = FALSE,
  gps_out = NULL,
  date_out = NULL
)

Arguments

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

Value

list containing gps_out and date_out as data frames

Examples

# Compare and summarise unfiltered demo cows to filtered 
compare_summarise_data(demo_unfiltered_elev, demo_filtered_elev)

[Package animaltracker version 0.2.0 Index]