knife_edge: knife-edge selection

Description Usage Arguments Examples

Description

knife_edge describes knife-edge selection where probability of capture 100% after a minimum defined size. Provides a rough estimate of trawl-type selectivity.

Usage

1
knife_edge(Lt, knife_edge_size)

Arguments

Lt

body size

knife_edge_size

knife edge size. Minimum size at capture.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
data(tilapia)
tilapia$selectFun="knife_edge"
knife_edge_sizes <- c(20, 25, 30, 35)
for(i in seq(knife_edge_sizes)){
  tilapia$knife_edge_size <- knife_edge_sizes[i]
  res <- cohortSim(tilapia, t_incr=0.01)
  if(i == 1) plot(pcap ~ Lt, res, t="n")
  lines(pcap ~ Lt, res, col=i)
}
legend("topleft", legend=knife_edge_sizes, 
  col=seq(knife_edge_sizes), lty=1, 
  title="min. size", bty="n"
)

marchtaylor/fishdynr documentation built on May 21, 2019, 11:27 a.m.