#NEGATIVE EXPONENTIAL (Holdridge et al. 1971)
model <- list(
name=c("Negative exponential"),
formula=expression(S == d*(1 - exp(-z*A) )),
exp=expression(d*(1-exp(-z*A))),
shape="convex",
asymp=function(pars)pars["d"],
#limits for parameters
parLim = c("Rplus","Rplus"),
custStart=function(data)c(max(data$S),.01),
#initials values function
init=function(data){
d=max(data$S)
Z=(-log( (-data$S/(max(data$S)+1))+1))/data$A
z = mean(Z)
c(d,z)}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.