Error in if (!is.na(curr.E)) { : argument is of length zero
In addition: Warning message:
In max(FM, na.rm = TRUE) : no non-missing arguments to max; returning -Inf
My data has three years. So this now has three columns. Definitely above I can see that lfq_catch_vec$par$E is 0. But why is that? Have I done something suboptimal while generating this object? This is how I generated the lfq_catch_vec.
## define plus group as largest length class smaller than Linf
plus_group <- lfq_bin2$midLengths[max(which(lfq_bin2$midLengths < lfq_bin2$par$Linf))]
## summarise catch matrix into vector and add plus group
lfq_catch_vec <- lfqModify(lfq_bin2, vectorise_catch = TRUE, plus_group = plus_group)
Hi @tokami ,
I have been playing around with
TropFishR
using some dummy data. Thank you for this package. At this point, I'm getting an error with the following.Error is:
My
lfq_catch_vec
is below.My data has three years. So this now has three columns. Definitely above I can see that
lfq_catch_vec$par$E
is0
. But why is that? Have I done something suboptimal while generating this object? This is how I generated thelfq_catch_vec
.And this is my
lfq_bin2
object.You feedback is very much appreciated.
Thanks, Shani.