sim_data: Simulated conservation planning data

Description Usage Format Details Examples

Description

Data for making spatial prioritizations using simulated data.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17

Format

sim_features

RasterStack-class object.

sim_pu_polygons

SpatialPolygonsDataFrame-class object.

sim_pu_lines

SpatialLinesDataFrame-class object.

sim_pu_points

SpatialPointsDataFrame-class object.

sim_pu_raster

RasterLayer-class object.

sim_phylogeny

phylo object.

Details

sim_pu_raster

Planning units are represented as raster data. Pixel values indicate cost.

sim_locked_in_raster

Planning units are represented as raster data. Pixel values are binary and indicate if planning units should be locked in.

sim_locked_out_raster

Planning units are represented as raster data. Pixel values are binary and indicate if planning units should be locked out.

sim_pu_polygons

Planning units represented as polygon data. The attribute table contains data indicating the expenditure required for prioritizing each planning unit ('cost' column), if the planning units should be selected in the solution ('locked_in' column), and and if the planning units should never be selected in the solution ('locked_out' column).

sim_pu_points

Planning units represented as point data. The attribute table follows the same conventions as for sim_pu_polygons

.

sim_pu_lines

Planning units represented as line data. The attribute table follows the same conventions as for sim_pu_polygons

.

sim_features

The simulated distribution of ten species. Pixel values indicate habitat suitability.

sim_phylogeny

The phylogenetic tree for the ten species.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
# load data
data(sim_pu_polygons, sim_pu_lines, sim_pu_points, sim_pu_raster,
     sim_locked_in_raster, sim_locked_out_raster, sim_phylogeny,
     sim_features)

# plot data
par(mfrow = c(3, 3))
plot(sim_pu_raster, main = "planning units (raster)")
plot(sim_locked_in_raster, main = "locked in units (raster)")
plot(sim_locked_out_raster, main = "locked out units (raster)")
plot(sim_pu_polygons, main = "planning units (polygons)")
plot(sim_pu_lines, main = "planning units (lines)")
plot(sim_pu_points, main = "planning units (points)")
if (requireNamespace("ape", quietly = TRUE)) {
 ape::plot.phylo(sim_phylogeny, main = "simulated phylogeny")
} else {
 message("the \"ape\" package needs to be installed to plot phylogenies")
}

par(mfrow = c(1, 1))
plot(sim_features)

prioritizr/prioritizrutils documentation built on May 25, 2019, 12:20 p.m.