compare_summarise_daily: Compares two animal datasets and calculates daily summary...

Description Usage Arguments Value Examples

View source: R/data_analysis.R

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

1
2
3
4
5
6
7
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

1
2
3
# Compare and summarise unfiltered demo cows to filtered, grouped by both Date and GPS

compare_summarise_daily(demo_unfiltered_elev, demo_filtered_elev)

animaltracker documentation built on Nov. 18, 2020, 1:08 a.m.