read.dls {icesAdvice}R Documentation

Read DLS3.2 Results from File

Description

Read results from the DLS3.2 advisory method from a file into a list.

Usage

read.dls(file)

Arguments

file

a filename.

Value

A list containing advice and other elements showing intermediate steps in the calculations.

Author(s)

Arni Magnusson.

See Also

write.dls writes DLS3.2 results to a file.

DLS3.2 can be used to calculate catch advice for data-limited stocks (DLS).

icesAdvice-package gives an overview of the package.

Examples

## 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)


[Package icesAdvice version 2.1.1 Index]