Description Usage Arguments Value Examples
uses crop@GMIN / 30 as minimum months of crop cycle needed temp_suit : min cycle consecutive months where tavg is within crop@TMIN, crop@TMAX kill_temp : tmin-5 > crop@KTMP precip : total precip within growing cycle should be within crop@RMIN, crop@RMAX
1 2 | cr_suit_simpler(crop, tmin, tavg, use_tmax = FALSE, tmax = NULL, prec,
rainfed)
|
crop |
an ecocrop cropname or object |
tmin |
monthly tmin for a site |
tavg |
monthly tavg for a site |
use_tmax |
option to use tmax rather than tavg |
tmax |
monthly tmax for a site |
prec |
monthly precipitation for a site |
rainfed |
FALSE for irrigated |
1/0 for suitable/unsuitable
1 2 | crop <- getCrop('potato')
cr_suit_simpler(crop, 5:16, 15:26, runif(12)*100, rainfed=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.