Learn R Programming

animaltracker (version 0.2.0)

compare_summarise_daily: Compares two animal datasets and calculates daily summary statistics by GPS GPS, date, lat, long, course, distance, rate, elevation column names should match.

Description

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

Usage

compare_summarise_daily(
  correct,
  candidate,
  use_elev = TRUE,
  export = FALSE,
  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 summary to .csv, defaults to False

out

desired file name of .csv output summary when export is True

Value

summary data frame

Examples

Run this code
# NOT RUN {
# Compare and summarise unfiltered demo cows to filtered, grouped by both Date and GPS

compare_summarise_daily(demo_unfiltered_elev, demo_filtered_elev)
# }

Run the code above in your browser using DataLab