I wonder if you have an example of a data set whihc is very difficult to fit with

the method you are using?

Regards,

Dave

]]>To produce the plot you should run this code:

# Using some data from the British yield table for Scots pine, YC 14.

topHeight <- c(8.9, 11.6, 13.9, 15.9, 17.8, 19.6, 21.3, 22.8, 24.2,

+ 25.4, 26.5, 27.4, 28.3, 29.0, 29.7, 30.3, 30.7, 31.1)

age <- c(17, 22, 27, 32, 37, 42, 47, 52, 57, 62, 67, 72, 77, 82, 87,

+ 92, 97, 102)

install.packages("robustbase",dependencies = TRUE)

library(robustbase)

nlsout <- nlrob(topHeight ~ A * (1 – exp(-k * age))^p, data =

data.frame(age, topHeight), start = list(A = 83, k = 0.03, p = 4),

trace = TRUE)

names(nlsout)

as.function <- function(formula) {

cmd <- tail(as.character(formula),1)

exp <- parse(text=cmd)

function(…) eval(exp, list(…))

}

f <- as.function(nlsout$formula)

plot(age, nlsout$fitted.values, ylab="Top height [m]", xlab="Age [year]", pch=16 )

legend(20,30, expression(y[max]=="35.23", "k=0.02", "p=1.24" ))

lines(age, f(A=as.vector(nlsout$coefficients)[1],

k= as.vector(nlsout$coefficients)[2],

p=as.vector(nlsout$coefficients)[3], age=age), col="red")

Thank you for this explanation but I have question, my question is : how can we implement BAL calculation in Netlogo ? any help or hint ?

Thank you in advance,

Tamim

The findings will be of immense help to biodiversity conservation.

Can’t wait for the next idea to be executed. ]]>

Thanks for checking out my blog. You need to give me more information on this error so that I can help you with this issue.

Best wishes,

Arne ]]>

In searching for a proper description on the use of the Chapman-Richards function I have found my way to this website. I am glad you took the time to explain every single point, however this section spoke to me the most.

I spent 4 years in Honduras deploying efficient cook stoves for poor rural households and realized that their consumption of firewood was astonishing. Having since returned to Florida, I am wondering if I can explain the dynamics of firewood and the overall energy consumption of a household in part by forest biometrics.

Human selection of the trees to be used as firewood is crucial in understanding how households interact with their environment and sharing this story from the perspective of energy can be interesting.

Look forward to hearing your group’s development on this area.

]]>I just started to work with R to review some literature on Pinus oocarpain Honduras and attempt to replicate their constants.

While practicing with your code using the C-R functionsI noticed that if I made f = nlsout and asked for a plot it would give me a lattice error.

Would you mind sharing the plot code?

Regards,

Jaime

]]>