Writes catch per unit effort in a data frame to a variety of stock assessment text files.

# S4 method for data.frame,character,character
writeCpue(object, file,
  method = c("bsp", "ss", "vpa"), ...)

Arguments

object

the name of the file or dir which the data are to be read from.

file

name of text file to save data to.

method

stock assessment method type one of c("bsp","ss","vpa")

...

any other parameters

Examples

if (FALSE) { data(diagAspic) writeAspic(diagAspic,"aspoc.inp","aspic") }