I'm attempting to model the radial variation in microfibril angle in Scots pine (from Silviscan data), taking into account the nested
structure of the data. Currently my data are from 1 site x 6 trees x 5 sampling heights = 30 radial samples, but I will be adding data from a second site soon.
I'm fitting an existing model (Jordan et al 2005) to my data but initially only specified the
random effects for the parameter b0 as follows:
MFA.jordan1<-nlme(MFA ~ b0/(1+exp(b1*RN))+b2, start=c(b0=50, b1=0.07, b2=9), fixed=b0+b1+b2~1, random=
b0~1|Tree/Sample_ID, data = MFA.data)
This worked OK but then I tried to specify the random effects for the other parameters (NB: only specified at Tree level this time
as adding /Sample_ID caused R to 'hang') like so:
MFA.jordan2<-nlme(MFA ~ b0/(1+exp(b1*RN))+b2, start=c(b0=50, b1=0.07, b2=9), fixed=b0+b1+b2~1, random=
b0+b1+b2~1|Tree, data = MFA.data)
But I got the following error message:
Error in nlme.formula(MFA ~ b0/(1 + exp(b1 * RN)) + b2, start = c(b0 = 50, :
Step halving factor reduced below minimum in PNLS step
Does anyone know what might have gone wrong here? I thought initially
that my data set was too small, or maybe I've specified the function arguments incorrectly.
Any help gratefully accepted.
Thanks in advance,
Dave Auty MSc
PhD Student | University of Aberdeen
Forest Research NRS | Roslin | Midlothian | EH25 9SY
Scotland
dave...@gmail.com | dave...@forestry.gsi.gov.uk