JClavel / mvMORPH

mvMORPH: an R package for fitting multivariate evolutionary models to morphometric data
17 stars 5 forks source link

Error in mvOU #2

Closed rafmarcondes closed 7 years ago

rafmarcondes commented 7 years ago

I'm getting the following error when I try running mvOU:

mvOUM_f=mvOU(tree=map_tr, data=mvmorph_input, model='OUM', echo=F) Error in optim(par = c(alpha, sigma), fn = function(par) { : L-BFGS-B needs finite values of 'fn'

mvBM seems to run normally.

mvMORPH 1.0.9 R 3.3.3 Mac OS 10.12.5

map_tr.R.zip mvmorph_input.R.zip

rafmarcondes commented 7 years ago

Please suggest a workaround, if there is any.

JClavel commented 7 years ago

Dear Rafael,

I'm sorry I can't open the files you embodied in the gitHub issue page. So I can't reproduce your error.

This kind of message probably mean that there were a problem when computing the log-likelihood. It's possibly a singularity issue. Try using safer algorithms such as method="inverse", or method="pseudoinverse" (although slower...). There are some more informations about the various algorithms on the package vignette.

Please send codes and related dataset by mail, it will be easier to track.

All the best,

Julien


De : Rafael Marcondes notifications@github.com Envoyé : mardi 8 août 2017 17:51 À : JClavel/mvMORPH Cc : Subscribed Objet : [JClavel/mvMORPH] Error in mvOU (#2)

I'm getting the following error when I try running mvOU:

mvOUM_f=mvOU(tree=map_tr, data=mvmorph_input, model='OUM', echo=F) Error in optim(par = c(alpha, sigma), fn = function(par) { : L-BFGS-B needs finite values of 'fn'

mvBM seems to run normally.

mvMORPH 1.0.9 R 3.3.3 Mac OS 10.12.5

map_tr.R.ziphttps://github.com/JClavel/mvMORPH/files/1208737/map_tr.R.zip mvmorph_input.R.ziphttps://github.com/JClavel/mvMORPH/files/1208736/mvmorph_input.R.zip

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/JClavel/mvMORPH/issues/2, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKQkyQs5xv1pPNhO7ehb75fX5rUucdiwks5sWIQRgaJpZM4Ow7xa.