prephThreshDataUnImp: Prepare data frame of health in unimpacted females for %...

Description Usage Arguments Value Examples

View source: R/prephThreshDataUnImp.R

Description

Goal is to look at the amount of time (in months) the whales are spending below certain health thresholds. The idea is to see if female whales are spending times in periods of low health and as a result have delayed or impaired fecundity. This function returns the health of these animals

Usage

1

Arguments

healthmean

A 696 by 564 matrix of estimated health for all animals in the catalog dataset

firstSight

A length 696 vector of the first month each animal was seen

lastSight

A length 696 vector of the last month each animal was seen

thold

A scalar value of the health threshold to be examined.

Value

healthnew a 23 by 564 matrix of health estimates for unimpacted females calving females before they've had their first calf, that is we don't want to examine health after the animals have had a calf and are subject to natural fluctuations related to the calving and nursing cycle.

nAnimal the number of unimpacted females

Examples

1
2
3
4
## Not run: 
prephThreshDataUnImp(healthmean, firstSight, lastSight, thold)

## End(Not run)

robschick/tangled documentation built on Dec. 17, 2018, 10:12 a.m.