Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(help needed) More than 1 indice (LPUE) to analyse - Error MakeADFun for robust options #92

Open
Kimangie opened this issue Jan 15, 2020 · 0 comments

Comments

@Kimangie
Copy link

Hi again,
Now back to 1.2.7 version I am able to fit a 'simple case', which is a list with catch and one indice (thank you!)
BUT again a MakeADFun error (different this time) when trying what was working before in previous version of SPiCT, when inputing a list of indices (for example I am trying to fit a model for english channel's cuttlefish with LPUE series from french commercial boats & 2 LPUE series from UK, in october and november...).
Please have a look and if you can tell me how to fix it (or I definitely have an issue with the package):

fit.7de <- fit.spict(res.7de)
Error in TMB::MakeADFun(data = datin, parameters = pl, random = inp$RE, :
Error when reading the variable: 'robflagi'. Please check data and parameters.
In addition: Warning message:
In TMB::MakeADFun(data = datin, parameters = pl, random = inp$RE, :
Expected scalar. Got length=3

When checking all in your page, I found somathing about robust options:

res.7de$robflagi
[1] 0 0 0

Many thks

@Kimangie Kimangie changed the title More than 1 indice (LPUE) to analyse - Error MakeADFun for robust options (help needed) More than 1 indice (LPUE) to analyse - Error MakeADFun for robust options Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant