write.dls | R Documentation |
Write results from the DLS3.2
advisory method to a file.
write.dls(x, file = "")
x |
a list generated by the |
file |
a filename. |
The resulting text file has Dos line endings (CRLF).
Arni Magnusson.
read.dls
reads DLS3.2
results from a file back into R.
DLS3.2
can be used to calculate catch advice for data-limited
stocks (DLS).
icesAdvice-package
gives an overview of the 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") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.