cr_suit_simpler_month: cr_suit_simpler_month

Description Usage Arguments Value Examples

Description

a simpler version of the ecocrop model that assesses temperature against the minimum growth cycle and rainfall against the maximum growth cycle. returns suitabilities by month and attribute

Usage

1
cr_suit_simpler_month(crop, tmin, tavg, use_tmax, tmax, prec, rainfed)

Arguments

crop

an ecocrop cropname or object

tmin

single tmin value for a site

tavg

single tavg value for a site

use_tmax

option to use tmax rather than tavg

tmax

monthly tmax for a site

prec

single precipitation value for a site

rainfed

FALSE for irrigated

Value

dataframe of suitabilities by month and attribute

Examples

1
2
crop <- getCrop('potato')
cr_suit_simpler_month(crop, 5:16, 15:26, runif(12)*100, rainfed=TRUE)

AndySouth/climcropr documentation built on May 20, 2019, 5:08 p.m.