mkfish: Create a dataset of fish information.

Description Usage Arguments Value Examples

View source: R/fish.R

Description

Create a dataset of fish information.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
mkfish(
  n.pops,
  n.fish,
  width.path,
  height.path = width.path,
  mean.angle = 1.32296,
  sd.angle = 0.5555139,
  mean.fishvel = 27.6,
  sd.fishvel = 5.1
)

Arguments

n.pops

Numeric. The number of tows to complete (or fish populations to simulate)

n.fish

Numeric. Tumber of fish to place in the path of the gear for each population.

width.path

Numeric. The width of the path of the gear (in cm).

mean.angle

Numeric. The mean escape angle (radians).

sd.angle

Numeric. The standard deviation of the escape angle.

mean.fishvel

Numeric. The mean fish swimming velocity (cm/sec).

sd.fishvel

Numeric. The standard deviation of fish swimming velocity.

Value

A data.frame with one row for each fish and columns width.path = width of the gear/net in cm, pop = a population of fish for each tow of the net, distance = distance in cm from edge of net, angle = angle in radians

Examples

1
mkfish(n.pops = 1, n.fish = 100, width.path = 100)

USFWS/Gear-Avoidance-Behavior-Simulation documentation built on Jan. 9, 2021, 12:34 a.m.