Learn R Programming

NUETON (version 0.2.0)

AE: Calculate Agronomic Efficiency (AE)

Description

The contribution of fertilizer N towards yield, compared to a non-fertilized control. Formula: AE = (YieldF - Yield0) / FertN

Usage

AE(YieldF, Yield0, FertN)

Value

A numeric vector of AE values.

Arguments

YieldF

A numeric vector for yield in fertilized conditions.

Yield0

A numeric vector of non-fertilized control yield values.

FertN

A numeric value or vector for fertilizer N input.

Examples

Run this code
YieldF <- c(10, 12, 15)
Yield0 <- c(5, 5, 5)
FertN <- 50
AE(YieldF, Yield0, FertN)

Run the code above in your browser using DataLab