write_xdb_mFertilize_Auto: Write SALUS xdb.xml AUTO Fertlizer Management for Rotation...

Description Usage Arguments Details Examples

View source: R/write_xdb_funs.R

Description

This function writes the fertilizer management arguments after write_xdb_rotation has been run. See http://salusmodel.glg.msu.edu/salus.ddb.xml for more information about SALUS parameter options. This function should be followed with additional write_xdb_m* (rotation managements), and write_xdb_bottomMatter functions to complete the Experiment file. Includes an option to close the rotation compoment if this is the last management specified.

Usage

1
2
write_xdb_mFertilize_Auto(outFile, SoilNC, SoilNX, DSoilN = "5",
  NCode = "FE010", closeComponent = "N")

Arguments

outFile

Full file path for an existing .xdb.xml to appended to, created with write_xdb_topMatter

SoilNC

Threshold, N stress factor, percent, required

SoilNX

Amount per application, kg N per ha, required

DSoilN

Application depth, cm, required

NCode

Materian code, required

closeComponent

'Y' or 'N' . Should the rotation component be closed? defaults to 'N'

Details

All other SALUS fertilizer parameters are set currently as default.

Examples

1
#' # example forthcoming

jdeines/salustools documentation built on May 29, 2019, 1:03 a.m.