TropFishR icon indicating copy to clipboard operation
TropFishR copied to clipboard

Error in catchCurve

Open ccmorales2 opened this issue 1 year ago • 1 comments

Hi, @tokami. I am recently having an error in completing the catchCurve and I am confused. I tried the code selar_res_cc <- catchCurve(selar_lfq_catch_vec, catch_columns = c(1, 2), reg_int = c(10.5, 14.5), calc_ogive = TRUE)

Here is the error message: Error in catchCurve(selar_lfq_catch_vec, catch_columns = c(1, 2), reg_int = c(10.5, : You need to assign values to Linf and K for the catch curve based on length-frequency data!

What should I do?

ccmorales2 avatar Nov 13 '23 13:11 ccmorales2

Hello, morales .

For me this code work well

res_cc <- catchCurve(lfq_catch_vec, reg_int = NULL,auto = FALSE , calc_ogive = TRUE,catch_columns = c(1,2))

samrozmajeed avatar Nov 25 '23 07:11 samrozmajeed