zonator is a utility R package for dealing with various tasks related to Zonation conservation prioritization software. The package started out as a collection of helper scripts which have now been packages for anybody interested in using a familiar tool (R) in setting up Zonation runs and managing Zonation results.

Functions and classes found in zonator can be useful for following stages of running a Zonation analysis.

  1. Setting up a Zonation project and pre-processing files (examples).
  2. Running Zonation.
  3. Post-processing, results analysis and comparison, and plotting (examples).

Installation

Release version

You can install the latest release version from CRAN:

install.packages("zonator")

Development version

Alternatively, you can install the latest (potentially unstable) development version from Github.

  1. Make sure you have package devtools installed and loaded in R:
# Open R prompt or RStudio and type the following on the command line
install.packages("devtools")
  1. Then install zonator directly from GitHub by running the following line in R:
devtools::install_github("cbig/zonator", ref = "develop", build_vignettes = TRUE)

Examples

Some examples are provided by the package vignettes. You can view these after installing the package by:

vignette("zonator-project")

and

vignette("zonator-results")

Developers