Learn R Programming

NUETON (version 0.2.0)

PE: Calculate Physiological Efficiency (PE)

Description

The contribution of fertilizer N from the plant tissues towards the yield component. Formula: PE = (YieldF - Yield0) / (PlantNf - PlantN0)

Usage

PE(YieldF, Yield0, PlantNf, PlantN0)

Value

A numeric vector of PE values.

Arguments

YieldF

A numeric vector of final yield values.

Yield0

A numeric vector of non-fertilized control yield values.

PlantNf

A numeric vector of plant N at the end of the experiment.

PlantN0

A numeric vector of plant N at the beginning/control.

Examples

Run this code
YieldF <- c(12, 13, 14)
Yield0 <- c(10, 10, 10)
PlantNf <- c(3.5, 4.0, 4.2)
PlantN0 <- c(2.0, 2.0, 2.0)
PE(YieldF, Yield0, PlantNf, PlantN0)

Run the code above in your browser using DataLab