R/RcppExports.R

Defines functions FATE

Documented in FATE

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#' FATE Wrapper
#'
#' This function runs a \code{FATE} dynamical landscape vegetation simulation.
#'
#' @param simulParam a \code{string} corresponding to the name of a 
#' parameter file that will be contained into the \code{PARAM_SIMUL} folder 
#' of the \code{FATE} simulation
#' @param no_CPU (\emph{optional}) default \code{1}. \cr The number of 
#' resources that can be used to parallelize the simulation
#' @param verboseLevel (\emph{optional}) default \code{0}. \cr The logger 
#' verbose level : a \code{FATE} simulation can render different levels of 
#' information (from \code{0} to \code{4}, see 
#' \href{FATE#details}{\code{Details}}).
#' 
#' @details This function allows to run a vegetation simulation with the 
#' \code{FATE} model, based on a simulation folder and a species simulation 
#' parameter file.
#' 
#' A \code{FATE} simulation can be parallelized, using the \code{no_CPU} 
#' parameter, given that the user machine is multi-core !
#' 
#' Quantity of informations are rendered by the software into the \code{R} 
#' console, and the \code{verboseLevel} parameter allows to filter which 
#' level of information is printed :
#' 
#' \describe{
#'   \item{0. }{shows any message}
#'   \item{1. }{shows any message, except debug}
#'   \item{2. }{shows only warning and error messages}
#'   \item{3. }{shows only error messages}
#'   \item{4. }{mute}
#' }
#'
#' @return None
#'
#' @examples \dontrun{FATE()}
#'
#' @author Damien Georges, Isabelle Boulangeat, Maya Guéguen
#'
#' @export
FATE <- function(simulParam, no_CPU = 1L, verboseLevel = 0L) {
    .Call(`_RFate_FATE`, simulParam, no_CPU, verboseLevel)
}
leca-dev/RFate documentation built on Sept. 19, 2024, 6:09 a.m.