R/lightresponse.R

# Non-rectangular hyperbola
lightresponse <- function(PAR, Amax, phi, theta, Rd, ...){
                     

   A <- (phi*PAR+Amax-((phi*PAR+Amax)^2-4*theta*phi*PAR*Amax)^0.5)/(2*theta) - Rd
	   
return(data.frame(A=A))	   
}

Try the YplantQMC package in your browser

Any scripts or data that you put into this service are public.

YplantQMC documentation built on May 2, 2019, 5:50 p.m.