write.dls: Write DLS3.2 Results to File

Description Usage Arguments Note See Also Examples

Description

Write results from the DLS3.2 advisory method to a file.

Usage

1
write.dls(x, file = "")

Arguments

x

a list generated by the DLS3.2 function.

file

a filename.

Note

The resulting text file has Dos line endings (CRLF).

See Also

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.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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)

icesAdvice documentation built on May 2, 2019, 10:25 a.m.