View source: R/Photosynthesis_functions.R
f.smooth | R Documentation |
Smoothing functions between photosynthesis limitations (for example between rubisco carboxylation and light limitation)
f.smooth(A1, A2, theta, root = 1)
A1 |
Photosynthesis rate under limitation state 1 in micro mol m-2 s-1. |
A2 |
Photosynthesis rate under limitation state 1 in micro mol m-2 s-1. |
theta |
Smoothing factor between 0 and 1. |
Smoothed photosynthesis value in micro mol m-2 s-1.
A1= seq(0,20,1)
A2= seq(9,11,2/20)
Asmooth=f.smooth(A1=A1,A2=A2,theta=0.99)
plot(A1,type='l')
lines(A2)
lines(Asmooth,col='blue')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.