Learn R Programming

aridagri (version 2.0.3)

harvest_index: Harvest Index Calculation

Description

Calculates Harvest Index and related partitioning indices.

Usage

harvest_index(grain_yield, straw_yield, verbose = TRUE)

Value

Data frame with harvest indices

Arguments

grain_yield

Grain/economic yield

straw_yield

Straw/stover yield

verbose

Logical. If TRUE (default), prints formatted output to console.

Author

Lalit Kumar Rolaniya, Ram Lal Jat, Monika Punia, Raja Ram Choudhary

Examples

Run this code
harvest_index(grain_yield = c(1200, 1350, 1100), straw_yield = c(2400, 2500, 2300))

Run the code above in your browser using DataLab