nwasc_segmentDTS: Process dts survey data in NWASC database

Description Usage Arguments Details Value Examples

View source: R/Legacy-dts-segmentation.R

Description

Process dts survey data in NWASC database Returns wide-form dataframe with processed data

Usage

1
2
nwasc_segmentDTS(observations, transects, v.spd = 10,
  occurences = FALSE)

Arguments

observations

df of observations from phase 1 DTS surveys

transects

df of transect information from phase 1 DTS surveys

v.spd

numeric approx. speed of vessel

occurences

boolean flag Calculates species counts by default (FALSE); set occurrences = TRUE for number of flock sightings

Details

Requires observation table with lat/long for each sighting and transect table with single row for each transect id

v.spd sets assumed vessel speed in knots when vessel speed is missing Calculates species counts by default; set occurrences = TRUE for number of flock sightings

Distances are in nautical miles

Kyle Dettloff Modified 09-30-16

read in dts and observation tables

Value

df wide-form dataframe with processed data

Examples

1
2
3
4
## Not run: 
seg.dat.phase1.dts = segmentDTS(nwasc.ph1.dts.obs.dat, nwasc.ph1.dts.dat)

## End(Not run)

robgf/nwasc documentation built on Oct. 29, 2021, 8:13 p.m.