Description Usage Arguments Examples
are a crop's temperature thresholds satisfied by the passed monthly temperature data ? TODO currently doesn't take into account growing season length but does need to.
| 1 2 | within_t_thresh(crop, month_tmin = NULL, month_tmax = NULL,
  min_or_max = "both")
 | 
| crop | the crop either a name or ecocrop object | 
| month_tmin | min temp by month | 
| month_tmax | max temp by month | 
| min_or_max | 'both', min','max' | 
| 1 2 3 4 5 6 | #0
within_t_thresh('potato', month_tmin = rep(0,12), month_tmax = rep(50,12))
#1
within_t_thresh('potato', month_tmin = rep(20,12), month_tmax = rep(20,12))
#just min or max. e.g. specify max and it ignores min
within_t_thresh('potato', month_tmin = rep(0,12), month_tmax = rep(20,12), min_or_max='max')
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.