-
Notifications
You must be signed in to change notification settings - Fork 10
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
LSM error function In [email protected] - e2 #22
Comments
The function assumed the wrong dimensions for the stock object. The tutorial has now been corrected, but let me know if it works for you. |
Dear Iago,
Thanks for the quick reply. I work with the Package FLAssess the LSM
function.
I ran the tutorial but the error is continuous. Yes, the assumed different
dimensions for the objects:
[image: image.png]
In this case I have the information structured by 9 age (with plus group),
and 21 years (annex files) and one CPUE index. The CPUE index have
structurer annually and the catch have by age
This issue can be related to the CPUE index because it is n't structured by
age?
We have a Survey index but the problem if with has missing years in the
index (Ex. 1996-2016, the missing years are 1998, 2006, 2009, 2014 and
2015).
I appreciate your help with this error.
Best regards,
Ana Pabon
El dom, 4 jul 2021 a las 20:25, Iago Mosqueira ***@***.***>)
escribió:
… The function assumed the wrong dimensions for the stock object. The
tutorial has now been corrected, but let me know if it works for you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#22 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUT2TBCKUVLTQQ6RKPDYKKLTWC7T5ANCNFSM47ZQLUOQ>
.
--
*Ana Maria Novoa Pabon*
MSc in Integrated Study of the Oceans
Phone: (+351) 910 230 884
E-mail: ***@***.***
Depart. of Oceanography and Fisheries (DOP) – University of Azores
Rua Professor Doutor Frederico Machado, 4
9901-862 Horta, Azores
Portugal
|
Yes, the example there assumes the index is structured by age. Not sure if there are implementations of the method for a biomass index, but should be possible to derive it once some assumption on selectivity is made, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the LSM function I get an error:
Error in eval (call, parent.frame ()):
dims [product 8] do not match the length of object [10]
In addition: Warning message:
In e1 @ .Data - e2:
longer object length is not a multiple of shorter object length
when I look for where the error is, I find that it is here:
diff <- sum (abs (harvest (stock) [, ac (range (stock) ["maxyear"])] - Fnew))
Thank you for helping me with this error.
The text was updated successfully, but these errors were encountered: