View source: R/count_persistence.R
Calculate the benefit of selected effort for each species.
1 2 | count.persistence(site, action, site_action_array, action_costs,
site_threat_array_cat, responses_to_actions)
|
site |
the numeric id of the selected site. |
action |
the numeric id of the selected action. |
site_action_array |
a matrix of the selected effort for each action (columns) in each site (rows). |
action_costs |
a list of matrices with the cost of selecting each level of effort. Each matrix stores the cost of implementing each level of effort (rows) for each action (columns) in each site (list slot). The list has lenght equals to the number of site. |
site_threat_array_cat |
a matrix of the category of magnitute for each threat in each site. |
responses_to_actions |
a list of matrices with the benefit of selecting each level of effort. Each matrix stores the benefit of implementing each level of effort (rows) for different threat category at the site (columns) for each site-action combination (list slot). The list has lenght equals to the combination of site and actions. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.