-
Notifications
You must be signed in to change notification settings - Fork 8
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
Error in multi-species occupancy models prediction #13
Comments
Hi José, Thanks for the note. You are correct that this error is happening when multiplying matrices that will generate the predicted occupancy probabilities. First make sure you are working with the latest version on CRAN (0.4.0), as version 0.4.0 did fix a problem in prediction for multi-species occupancy models when random effects were included when fitting the model. Here are two things I'll mention that could be causing the issue:
If none of that resolves the issue, feel free to email me your code and I'll take a look. Jeff |
We determined this was happening as |
Updated on CRAN in v0.5.0 |
Hi Jeff,
I've tried to make prediction for the latent occupancy at new locations for multi-species occupancy models (84 species; function =
msPGOcc
). However, I've receive the following error message:"Error in t(as.matrix(X.fix[j, ])) %*% t(beta.samples[, sp.indx == i]) : non-conformable arguments". It seems this error occurs when you attempt to multiply two matrices.
Do you have any idea how I can fix this error in R?
Best regards
The text was updated successfully, but these errors were encountered: