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.

writeBatch(FarmDynDir, mapping, farmIds)

Arguments

FarmDynDir

Directory where FarmDyn is located

mapping

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

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

Examples

NULL
#> NULL