Simulated data for prioritizing conservations projects.

data(sim_project_data)

data(sim_action_data)

data(sim_species_data)

data(sim_tree)

Format

sim_project_data

tibble object.

sim_action_data

tibble object.

sim_species_data

tibble object.

sim_tree

phylo object.

Details

The data set contains the following objects:

sim_project_data

A tibble containing data for six simulated conservation projects. Each row corresponds to a different project and each column contains information about the projects. This table contains the following columns:

"name"

character name for each project.

"success"

numeric probability of each project succeeding if it is funded.

"S1" ... "S5"

numeric columns for each species (i.e. "S1", "S2", "S3", "S4", "S5", indicating the enhanced probability that each species will survive if it funded.

"S1_action" ... "SN_action"

logical columns for each action, ranging from "S1_action" to "SN_action" where N is the number of actions (equal to the number of species in this simulated data), indicating if an action is associated with a project (TRUE) or not (FALSE).

sim_action_data

A tibble containing data for six simulated actions. Each row corresponds to a different action and each column contains information about the actions. This table contains the following columns:

"name"

character name for each action.

"cost"

numeric cost for each action.

"locked_in"

logical indicating if certain actions should be locked into the solution.

"locked_out"

logical indicating if certain actions should be locked out of the solution.

sim_species_data

A tibble containing data for six simulated species. Each row corresponds to a different species and each column contains information about the species. This table contains the following columns:

"name"

character name for each species.

"weight"

numeric weight for each species.

tree

phylo phylogenetic tree for the species.

Examples

# load data data(sim_project_data, sim_action_data, sim_species_data, sim_tree) # print project data print(sim_project_data)
#> # A tibble: 6 x 13 #> name success S1 S2 S3 S4 S5 S1_action S2_action S3_action #> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <lgl> <lgl> <lgl> #> 1 S1_p~ 0.919 0.791 0 0 0 0 TRUE FALSE FALSE #> 2 S2_p~ 0.923 0 0.888 0 0 0 FALSE TRUE FALSE #> 3 S3_p~ 0.829 0 0 0.502 0 0 FALSE FALSE TRUE #> 4 S4_p~ 0.848 0 0 0 0.690 0 FALSE FALSE FALSE #> 5 S5_p~ 0.814 0 0 0 0 0.617 FALSE FALSE FALSE #> 6 base~ 1 0.298 0.250 0.0865 0.249 0.182 FALSE FALSE FALSE #> # ... with 3 more variables: S4_action <lgl>, S5_action <lgl>, #> # baseline_action <lgl>
# print action data print(sim_action_data)
#> # A tibble: 6 x 4 #> name cost locked_in locked_out #> <chr> <dbl> <lgl> <lgl> #> 1 S1_action 94.4 FALSE FALSE #> 2 S2_action 101. FALSE FALSE #> 3 S3_action 103. TRUE FALSE #> 4 S4_action 99.2 FALSE FALSE #> 5 S5_action 99.9 FALSE TRUE #> 6 baseline_action 0 FALSE FALSE
# print species data print(sim_species_data)
#> # A tibble: 5 x 2 #> name weight #> <chr> <dbl> #> 1 S3 0.211 #> 2 S1 0.211 #> 3 S5 0.221 #> 4 S2 0.630 #> 5 S4 1.59
# print phylogenetic tree print(sim_tree)
#> #> Phylogenetic tree with 5 tips and 4 internal nodes. #> #> Tip labels: #> [1] "S3" "S1" "S5" "S2" "S4" #> #> Rooted; includes branch lengths.
# plot phylogenetic tree plot(sim_tree)