getData: Calculate the relavent statistics for fitting electrifishing...

View source: R/Likelihoods_and_gradients.R

getDataR Documentation

Calculate the relavent statistics for fitting electrifishing models

Description

Basically, only three bits of info are needed from every electrofishing event: The total catch, T, and a kind of cumulative catch measure termed X in Seber (1978)

Usage

getData(data, passnames = paste0("S0_R", 1:6))

Arguments

data

a data.frame containing all relavent info.

passnames

a character vector giving the names of the columns in which the catch data reside. These must be ordered so that the first comes first, etc.

Details

The data.frame must have the number of passes stored in a colum called 'Runs' And fishing area must be in a row called 'Area'

Value

a data frame


Faskally/CLmodel documentation built on Sept. 21, 2023, 1:15 p.m.