get.ct.mat: Function to read in and prepare the 200 count data

Description Usage Arguments Value Examples

View source: R/getCtMat.R

Description

Function to read in and prepare the 200 count data

Usage

1
get.ct.mat(file, sheet)

Arguments

file

The xlx file to read in. The file should consist of three columns where the first column lists contains the transect #, the second column contains the set within transect #, and the third column contains the fish count. See as.data.frame(read_excel("S:/Jordy/louiseOP2020/Data/CPUE.xls", col_names = F, sheet = "CPUEL"))

sheet

The name of the sheet to read in.

Value

Returns a matrix containing the 2005 count data. Note: columns represent transects and rows represent sets within transects.

Examples

1
 get.ct.mat("S:/Jordy/louiseOP2020/Data/CPUE.xls", "CPUEL")

jBernardADFG/LakeLouiseBurbotOP2020 documentation built on March 25, 2020, 12:06 a.m.