plot.power: Plot results of power analysis

Description Usage Arguments

Description

This function plots results of the power analysis. It first unpacks the list generated by the foreach function and estimates power given the number of simulations and the number of cores used. Power is plotted for each species on a single figure. Users can then scroll through separate plots for power at a park level if it park.power = TRUE

Usage

1
plot.power(pwr, n.species, nsims, effect.size, n.park, species.list, n.cores)

Arguments

pwr

An array containing the results of the power analysis

n.species

The number of species in which to estimate power

nsims

The number of simulations across each core

effect.size

A vector specifying the proportional decline in occupancy

n.park

The number of nested management units in which to estimate power

species.list

A vector specifying the name of each species analysed

n.cores

A matrix specifying the name of each species analysed and the relevant detection method


dsouthwell/TestPackagev2 documentation built on May 28, 2019, 9:38 a.m.