sel.line: a function for drawing selecitivity curves

Description Usage Arguments Author(s) See Also Examples

View source: R/sel.line.R

Description

This function is primarily inteded for use by the selfit function.

Usage

1
sel.line(x, model, sp, min.dist, max.dist)

Arguments

x

vector of x values (age or length)

model

selectivity model "Double_Normal" or "Double_Logistic"

sp

vector of parameters

min.dist

minimum value for selectivity

max.dist

maximum value for selectivity

Author(s)

Tommy Garrison

See Also

selfit

Examples

1
2
3
4
5
6
7
8
## Not run: 
plot(0, xlim = c(0, 50), ylim = c(0, 1),
xlab = 'Length', ylab = 'Selectivity', type = 'n',
xaxs = 'i', yaxs = 'i') 
sel.line(model = 'Double_Normal', min.dist = 10, max.dist = 50,
sp = c(25, -0.5, 3, 3, -5, 0))

## End(Not run)

r4ss documentation built on May 2, 2019, 4:56 p.m.