You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have got some issus when trying to run the LBSPR script with my data. I followed the script as it is explains but the problem appears in the "Reading in Example CSV" part when I try to create the object with my length frequency data in this command ;
Len2 <- new("LB_lengths", LB_pars=MyPars, file=paste0(datdir, "/LFreq_MultiYrHead.csv"), dataType="freq", header=TRUE)
I tried several thing, but the file is related to the function DataDir with sends everything to a place I can't find on my laptop. Even by changing the data in the csv file directly in the LBSPR package it doesn't change anything when importing data. So I tried to change the data directory with the DataDir function but it's not working. And finally, without the DataDir function, and by using read.csv2 with my file it's not working, maybe because of the "new" function?
Anyway, can you help me so that I can run the script with my data please ? I hope my explanations are clear !
Thanks in adavance
Gabrielle Cotonéa
The text was updated successfully, but these errors were encountered:
It's hard to diagnose the problem without seeing the error messages, or having reproducible code. Can you share an example data file and the code that's giving the error, as well as the error messages it is producing?
Hi,
I finally managed to import my data and apply the model to it.
But I have another question; I would like to bootstrap the length frequency data to get the uncertainty around the SPR as you did for Palau in 2015. I don't really know how to do it, do you have some advice or a document that could help me?
Hello Adrian !
I have got some issus when trying to run the LBSPR script with my data. I followed the script as it is explains but the problem appears in the "Reading in Example CSV" part when I try to create the object with my length frequency data in this command ;
Len2 <- new("LB_lengths", LB_pars=MyPars, file=paste0(datdir, "/LFreq_MultiYrHead.csv"), dataType="freq", header=TRUE)
I tried several thing, but the file is related to the function DataDir with sends everything to a place I can't find on my laptop. Even by changing the data in the csv file directly in the LBSPR package it doesn't change anything when importing data. So I tried to change the data directory with the DataDir function but it's not working. And finally, without the DataDir function, and by using read.csv2 with my file it's not working, maybe because of the "new" function?
Anyway, can you help me so that I can run the script with my data please ? I hope my explanations are clear !
Thanks in adavance
Gabrielle Cotonéa
The text was updated successfully, but these errors were encountered: