Skip to content
Snippets Groups Projects
get_metrics.Rd 1012 B
Newer Older
thierrychambert's avatar
thierrychambert committed
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_metrics.R
\name{get_metrics}
\alias{get_metrics}
\title{Calculate Impact Metrics}
thierrychambert's avatar
thierrychambert committed
\usage{
get_metrics(N, cumulated_impacts = FALSE)
thierrychambert's avatar
thierrychambert committed
}
\arguments{
\item{N}{a 4-D array containing demographic projection outputs}
\item{cumulated_impacts}{Logical. Must be set to TRUE if the output array N corresponds to
a cumulated impacts demographic analysis (see ?run_simul).}
thierrychambert's avatar
thierrychambert committed
}
\value{
a list of metric outputs : mean, SD, 95\% C.I. of the
}
\description{
get_metrics takes the output array of the simulations run and calculate two impact metrics :
(1) The relative difference (between scenarios) in population size at the time horizon, and
(2) The difference in terms of extinction probability.

When used on a cumulated_impacts analysis, this function also calculates these two metrics
for each individual wind farm.
thierrychambert's avatar
thierrychambert committed
}
\examples{
## Import Data
data("demo_proj")

## Calculate the metric
get_metrics(demo_proj, cumulated_impacts = FALSE)
thierrychambert's avatar
thierrychambert committed

}