Skip to content
Snippets Groups Projects
Commit 47f2d702 authored by thierrychambert's avatar thierrychambert
Browse files

Cleaning (removed "data" stuff)

parent 5cb83a00
No related branches found
No related tags found
No related merge requests found
#' Demographic projection of a bird population over 30 years, under 2 scenarios: sc0 and sc1
#'
#' An 4D array containing population size by age class (dim 1), each year (dim 2),
#' for both scenarios (dim 3), and for each simulation run (dim 4).
"demo_proj"
#' Demographic projection under 5 scenarios
#'
#' A list Also a 4D array containing results : population size by age class (dim 1), each year (dim 2),
#' for all scenarios (dim 3), and for each simulation run (dim 4).
# "run0"
...@@ -20,12 +20,6 @@ ...@@ -20,12 +20,6 @@
#' @return a list of metric outputs : median, SD, 95% C.I. of the #' @return a list of metric outputs : median, SD, 95% C.I. of the
#' @export #' @export
#' #'
#' @examples
#' ## Import Data
#' data("demo_proj")
#'
#' ## Calculate the metric
#' get_metrics(demo_proj, cumulated_impacts = FALSE)
#' #'
#' #'
get_metrics <- function(N, cumulated_impacts = FALSE){ get_metrics <- function(N, cumulated_impacts = FALSE){
......
File deleted
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{demo_proj}
\alias{demo_proj}
\title{Demographic projection of a bird population over 30 years, under 2 scenarios: sc0 and sc1}
\format{
An object of class \code{array} of dimension 4 x 30 x 2 x 100.
}
\usage{
demo_proj
}
\description{
An 4D array containing population size by age class (dim 1), each year (dim 2),
for both scenarios (dim 3), and for each simulation run (dim 4).
}
\keyword{datasets}
...@@ -23,12 +23,3 @@ get_metrics takes the output array of the simulations run and calculate two impa ...@@ -23,12 +23,3 @@ get_metrics takes the output array of the simulations run and calculate two impa
When used on a cumulated_impacts analysis, this function also calculates these two metrics When used on a cumulated_impacts analysis, this function also calculates these two metrics
for each individual wind farm. for each individual wind farm.
} }
\examples{
## Import Data
data("demo_proj")
## Calculate the metric
get_metrics(demo_proj, cumulated_impacts = FALSE)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment