Skip to contents

Use approx() to Return a Modifier Value From an RcA or RcT Curve

Usage

.fn_Rc(.Rc, .xout)

Arguments

.Rc

A matrix describing a growth curve for either temperature, RcT, age, RcA, or RHUM, RcRH.

.xout

a value for x, either a temperature, age or RHUM modifier value.

Value

A numeric value for modifying a growth curve in seir.

Note

This is a faster (and more simple) function that does what the original cropsim afgen() does.