summarizeYieldStacks: Annual Yield Stats from Spatialized Results

Description Usage Arguments Examples

View source: R/results_spatialize.R

Description

Function to extract annual total and summary stats from stacks of annual maps for the specified variable. Returns a data frame with annual totals and per area stats for all years for the specified variable and irrigation status

Usage

1
summarizeYieldStacks(cropCode, yieldList, irrigationStatus)

Arguments

cropCode

code for crop desired: MZ, WH, SG, SB, AL

yieldList

List of stacks - 1 stack for each crop which includes all years

irrigationStatus

Y or N - needs to be manually matched in input yield list

Examples

1
# example forthcoming

jdeines/salustools documentation built on May 29, 2019, 1:03 a.m.