View source: R/prephThreshDataRepro.R
prephThreshDataRepro | R Documentation |
This function takes heatlh estimates and intersects them with the entanglement information to find out the number of months each animal spent below a certain health threshold
prephThreshDataRepro(healthmean, thold)
|
Estimates of health from the model |
|
A scalar value of the health threshold to be examined. |
A list containing: 1) rfmthold
A 6 by 6 data frame
summarising the information about the number of months entangled
whales are spending below certain health thresholds, and 2)
dfout
a 113 x 5 data frame containing the threshold
data at the level of the infidividual, i.e. not summarised like
in rfmthold
The entanglement injury class of the animal. 1 = Severe w/Gear; 2 = Moderate w/Gear; 3 = Severe no gear; 4 = Minor w/Gear; 5 = Moderate no gear; 6 = Minor no gear
The number of cases in each of these categories
The total number of months tallied up from each individual whale, i.e. total number of months all whales were entangled
Maximum length of any entanglement
Sum of the number of months entangled whales were below the threshold
The mean (by entanglement) percentage of months the animal was below a threshold value during the event
## Not run: prephThreshDataRepro(healthmean, thold) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.