ReproStatus: Function to append Reproductive Status of an animal to at...

Description Usage Arguments Value Examples

View source: R/ReproStatus.R

Description

Merge cleaned GPS data with the reproductive status of animals at each fix

Usage

1
2
ReproStatus(gps, startdates, enddates, neodat, capdat, subspp, subsex,
  subset)

Arguments

gps

data.frame of gps data

startdates

vector (date format) of the start dates to subset GPS data

enddates

vector (date format) of the end dates to subset GPS data

neodat

path to neonate database

capdat

path to capture database

subspp

what species to subset

subsex

what sex to subset

subset

TRUE/FALSE. Whether or not function should remove non-repro animals

Value

Returns a data.frame with all gps data, AnimalID, Sex, and Species, and Reproductive Status (Repro or Non-Repro)

Examples

1
2
3
ReproData<-ReproStatus(gps = yourgpsdata, startdates = c('2017-05-01', '2018-05-01'), enddates = c('2017-09-01', '2018-09-01'), neodat = yourpath, subspp = "MD", subsex = "F")
NEO DATA 
=============

khuggler/TediousEcology documentation built on July 10, 2021, 12:34 a.m.