View source: R/prephThreshDataUnImp.R
prephThreshDataUnImp | R Documentation |
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
prephThreshDataUnImp(healthmean, firstSight, lastSight, thold)
|
A 696 by 564 matrix of estimated health for all animals in the catalog dataset |
|
A length 696 vector of the first month each animal was seen |
|
A length 696 vector of the last month each animal was seen |
|
A scalar value of the health threshold to be examined. |
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
## Not run: prephThreshDataUnImp(healthmean, firstSight, lastSight, thold) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.