Re: [R-sig-phylo] PGLS error

2013-09-16 Thread Liam J. Revell

Hi Ties.

pgls is in the package 'caper' not 'geiger'. You can fit the same models 
using gls in the nlme package using correlation structures from ape. 
It's possible that this implementation might better protect you against 
regions of the likelihood space that are not defined. (Without a 
specific example, though, this is hard to assess.)


- Liam

Liam J. Revell, Assistant Professor of Biology
University of Massachusetts Boston
web: http://faculty.umb.edu/liam.revell/
email: liam.rev...@umb.edu
blog: http://blog.phytools.org

On 9/15/2013 10:21 PM, Ties Coomber wrote:

Hello,

I have a question about an error message that occurs sporadically when I
run multiple PGLS models using the pgls function in geiger.
I am performing all possible models on 15 independent variables (~ 30, 000
models).
Whilst I am looping across the models I get the following error message:

Problem with optim:52ERROR: ABNORMAL_TERMINATION_IN_LNSRCH

There is no pattern to when the error occurs. Sometimes a model will run
and sometimes it won't with the same data.
The problem I think is to do with the linear searching of the Maximum
Likelihood. And I have seen people with the same problem, when only using
the optim function. However, I have the added issue of using another
function around optim (geiger::pgls)

Does any one have any suggestions on why this may be happening? And how we
may solve this error?

Thanks,
Ties

[[alternative HTML version deleted]]

___
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/



___
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/


[R-sig-phylo] APE error message

2013-09-16 Thread BIGANZOLI FERNANDO
Hello all
I'm new with APE. I'm trying to open a NEXUS tree with 109 sp and with many
polytomies and I received the following error message: Error en trees[[i]]
: subíndice fuera de  los límites
Anyone know what that the error means? Ape has a maximum number of species?
thanks!
Fernando

-- 
Fernando Biganzoli
Departamento de Métodos Cuantitativos y Sistemas de Información
Facultad de Agronomía, UBA

[[alternative HTML version deleted]]

___
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/

Re: [R-sig-phylo] APE error message

2013-09-16 Thread Eliot Miller
Are you trying to load a single tree or multiple trees in a single Nexus
file? What function are you trying to use to load the tree(s)?


On Mon, Sep 16, 2013 at 5:46 PM, BIGANZOLI FERNANDO bigan...@agro.uba.arwrote:

 Hello all
 I'm new with APE. I'm trying to open a NEXUS tree with 109 sp and with many
 polytomies and I received the following error message: Error en trees[[i]]
 : subíndice fuera de  los límites
 Anyone know what that the error means? Ape has a maximum number of species?
 thanks!
 Fernando

 --
 Fernando Biganzoli
 Departamento de Métodos Cuantitativos y Sistemas de Información
 Facultad de Agronomía, UBA

 [[alternative HTML version deleted]]


 ___
 R-sig-phylo mailing list - R-sig-phylo@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
 Searchable archive at
 http://www.mail-archive.com/r-sig-phylo@r-project.org/


[[alternative HTML version deleted]]

___
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/