lgr2SCOBI: lgr2SCOBI: Format adult data from LGTrappingDB for SCOBI

Description Usage Arguments Author(s) Examples

View source: R/lgr2SCOBI.r

Description

lgr2SCOBI() is a function to convert raw data exported or 'dumped' out of the LGTrappingDB to a format that is ready to be analyzed by the SCOBI() function. It is to be used on one species/spawn year combination (e.g., SY2015 steelhead) at a time. It will write a csv file ready to be used as the adultData argument of the SCOBI() function.

Usage

1
lgr2SCOBI(input = NULL, species = "chnk", exportFile = NULL)

Arguments

input

the name of the csv file containing adult data exported from the LGTrappingDB. Can also accept an object of a similar format. See exRawSthdAdultData

species

what is the species of the data you are attempting to format for SCOBI. The default option is "chnk" for Chinook salmon. Simply set as "sthd" for steelhead.

exportFile

What would you like to name your exported file containing your data formatted for SCOBI analysis? By default lgr2SCOBI() exports the formatted data as a csv file which is the preferred format for SCOBI.

Author(s)

Mike Ackerman

Examples

1
lgr2SCOBI(input = exRawSthdAdultData, species = "sthd", exportFile = "SthdScobiInput")

mackerman44/SCOBI documentation built on July 20, 2019, 2:48 p.m.