update_time: Update application times of the DEFAULT fertiliser and...

Description Usage Arguments Details Value Author(s) Examples

View source: R/update_time.R

Description

A simple function used to update DEFAULT dates based on the information given in croprotation, defined by the list returned from croprotationDef

Usage

1
update_time(x, DT)

Arguments

x

a list returned from croprotationDef. If not tinkered with, there is a chornological order in the list which is highly (!) adivised.

DT

(default) DT_min, DT_org, DT_manag which have to contain a column named "date" with the dates of activity as a characrter in "YYYY-MM-DD" format.

Details

Used in the functions schaaf_managDef and in fertilisationDef

Value

List with time updated, crop specific DEFAULTs (fertilisation or tillage)

Author(s)

Tobias KD Weber , tobias.weber@uni-hohenheim.de

Examples

1
2
## example 1
## Not run: 

tkdweber/XN5setup documentation built on July 4, 2021, 7:34 a.m.