cr_suit_simpler_month_test: cr_suit_simpler_month_test

Description Usage Arguments Value Examples

Description

BEWARE THIS A TEST VERSION THAT USED BOTH GMIN & GMAX, THE ALL IS NOT USEFUL returns suitabilities by month and attribute

Usage

1
cr_suit_simpler_month_test(crop, tmin, tavg, prec, rainfed)

Arguments

crop

an ecocrop cropname or object

tmin

single tmin value for a site

tavg

single tavg value 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_test(crop, 5:16, 15:26, runif(12)*100, rainfed=TRUE)

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