GitLab at IIASA

writeBatch.Rd 1.03 KiB
Newer Older
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FarmDynR.R
\name{writeBatch}
\alias{writeBatch}
\title{Write batch file for batch file execution mode in FarmDyn}
\usage{
writeBatch(FarmDynDir, mapping, farmIds)
}
\arguments{
\item{FarmDynDir}{Directory where FarmDyn is located}

\item{mapping}{Column name of the characteristic/variable to be grouped by (e.g. "Regions" or "Regs")}

\item{farmIds}{Individual farm Identifiers. This is usually the aggregation (mapping) of your p_farmData file. Whereas here the mapping is just the name of the aggregation, farmIds is a vector of the names of the different farm samples made. For example, if mapping = NUTS0, then famrIds would be AT, BE, BG... etc.}
}
\value{
Writes batch file necessary to run FarmDyn
}
\description{
This function writes the batch file for you. It directly takes the necessary information from runInc.gms in FarmDyn, so the GUI
settings remain the same as you have set them.
}
\examples{

}
\seealso{
\code{\link[FarmDynR]{runFarmDynfromBatch}}
}