Re: [R-sig-phylo] Error in eigen(val, only.values = TRUE) : infinite or missing values in 'x' when estimating lambda in pgls

2017-07-03 Thread Emmanuel Paradis
Hi Lydia, This kind of problem happens sometimes though it's not clear why. One possibility is that the Pagel model is not appropriate for your data. One thing you can do is to estimate lambda by repeatedly fitting models with fixed = TRUE for different values of lambda between 0 and 1, and

[R-sig-phylo] Error in eigen(val, only.values = TRUE) : infinite or missing values in 'x' when estimating lambda in pgls

2017-06-26 Thread Lydia
Hello everyone, I have problems estimating lambda using the gls function in R. The gls function works perfectly fine when I am running it with a fixed value of lambda (ie. fixed=TRUE) but when I am trying to estimate lambda and incorporate this estimation of lambda into my analysis, ie. :