makeEvents | R Documentation |
events
data frame of last entanglement eventGoal of this function is to take data that are stored in the package including the entanglement information, and the estimated median death times, and prepare a data frame that only has the last entanglement event for each animal in the database. This is because we want to look at survival following these events, and compare the impact of different types of entanglement on the survivorship.
makeEvents()
events
a 464 by 26 data frame where each row
has the information on the entanglement event. I'm starting
with tangleOut
and to that am adding 5 columns:
Integer denoting the maximum value in deathyr
which is
a matrix of estimated or fixed deaths for all animals in the population.
This is a key variable because it allows us to calculate survivorship
logical: If there is no uncertainty in death and
the
death is less than dcut
, then this animal is known to be dead.
n.b. this can be tested against the input data from NEAq
logical: If there is uncertainty in death and
the
death is less than dcut
, then this animal is presumed dead
logical: If there is uncertainty in death and
the
death is greater than dcut
, then this animal is presumed alive
Integer noting the end of the entanglement window
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.