CreateMatrix: CreateMatrix

Description Usage Arguments Value Examples

Description

Create data matrix for plotting and analysis.

Usage

1
2
CreateMatrix(data, nf = 0, use.bottom.line = FALSE,
  bottom.line.offset = 0, threshold = -30)

Arguments

data

must be a data object that comes out of ReadEKRaw(fname) & ReadEKRaw_ConvertPower(data). If matrix is to be constrained above the lake bottom then the data object must have also been processed by the FindBottom2(data).

nf

nearfield distance, offset below surface in meters

use.bottom.line

Use the lake bottom to bottom depth of the matrix; default is FALSE

bottom.line.offset

depth offset from bottom in meters, default is 0 (can also be a negative number)

threshold

data with backscatter (dB) stronger than this value are turned to NA's. Use this to remove possible scatter from fish

Value

data matrix of backscatter for each ping at each depth interval

Examples

1
z = CreateMatrix(data, nf = 0.5, use.bottom.line = TRUE, bottom.line.offset = 0, threshold = -30)

leachth/ReadEKRaw_updated documentation built on May 23, 2019, 9:02 p.m.