create_haul {RoMEBS}R Documentation

Function to create R-sufi file containing haul data.

Description

This function reports the information contained in the hauld data table (TA) from the MEDITS protocol to the format required by R-sufi (Rochet et al., 2004).

Usage

create_haul(ResultDataTA,wd,suffix)

Arguments

ResultDataTA

Haul data table according to MEDITS protocol (TA)

wd

working directory path defined by the user

suffix

Suffix string of the Logfile

Value

The function saves automatically in the files R-Sufi folder the table traits in.csv format, with suffix of the year and GSA.

Author(s)

I. Bitetto, W. Zupa

References

Rochet M. J., V. M. Trenkel, J. A. Bertrand & J.-C. Poulard, 2004. R routines for survey based fisheries population and community indicators (R-SUFI). Ifremer, Nantes. Limited distribution. Anonymus. 2017. MEDITS-Handbook. Version n. 9. MEDITS Working Group. 106 pp.https://www.sibm.it/MEDITS 2011/principaledownload.htm

Examples

library(MEDITS)
library(RoMEBS)
wd <- tempdir()
create_haul(TA,wd)

[Package RoMEBS version 0.2.02 Index]