Description Usage Arguments Value See Also Examples
This function is called internally by other functions. It prepares the data
for the function plot_capture
.
1 2 | prepare_data_for_capture_plot(models_list, data, age_at_capture = 0, sex,
capture_method)
|
models_list |
The list of fitted models |
data |
The dataset to be used |
age_at_capture |
The age at capture |
sex |
A character indicating the sex of the elephant: "males" or "females" |
capture_method |
A character indicating the method of capture of the elephant: "CAPTIVE", "IMM", "MILARSHI" or "STOCKADE" |
A list containing the data required for the plotting function.
1 2 3 4 5 6 | res <- prepare_data_for_capture_plot(models_list = Models,
data = SurvEles_small,
age_at_capture = 5,
sex = "males",
capture_method = "IMM")
lapply(res, range)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.