Re: [R-sig-phylo] Error in corFactor when running gls to obtain lambda

2021-01-03 Thread Emmanuel Paradis
Hi Chris, It is not clear from your message where the error occurred. Can you please send a reproducible example? I don't think the last model fit (output named 'OLS') gives an error since gls() with no correlation structure is equivalent to using lm(). Also if you use fixed=1 this is the

[R-sig-phylo] Error in corFactor when running gls to obtain lambda

2020-12-16 Thread chris pestana
Hi when I execute the code below I get the following message: Error in corFactor.corStruct(object) : NA/NaN/Inf in foreign function call (arg 1)In addition: Warning message:In Initialize.corPhyl(X[[i]], ...) : No covariate specified, species will be taken as ordered in the data frame. To avoid