powered by
Write results from the DLS3.2 advisory method to a file.
DLS3.2
write.dls(x, file = "")
a list generated by the DLS3.2 function.
a filename.
read.dls reads DLS3.2 results from a file back into R.
read.dls
DLS3.2 can be used to calculate catch advice for data-limited stocks (DLS).
icesAdvice-package gives an overview of the package.
icesAdvice-package
# NOT RUN { survey <- data.frame(year=2001:2010, randu[1:10,]) dls <- icesAdvice::DLS3.2(1000, survey$y) write.dls(dls, "dls.txt") read.dls("dls.txt") file.remove("dls.txt") # } # NOT RUN { # }
Run the code above in your browser using DataLab