x_file: Creates a DSSAT xfile

Description Usage Arguments Details Value Note

View source: R/x_file.R

Description

Creates a DSSAT xfile

Usage

1
x_file(xtab, outdir, z, xtype)

Arguments

xtab

CSM parameter input table

outdir

Output directory name

z

Two digit code for end of X file, typically 01

xtype

CSM xfile type (corresponding to particular crop)

Details

This allows multiple treatments to be tested, but only for a single field. As such, it is more appropriate, for the time being, to run the model for individual crops, rather than in spatial mode (.GSX) with multiple crops.

Value

A CSM experimental file, written to the location of choice

Note

As presently written (4/3/15), the simulation controls will not work for multiple methods, as a you need a complete general and automatic section replicated for each treatment


ldemaz/rcropmod documentation built on Feb. 29, 2020, 10:17 p.m.