sel.line {r4ss}R Documentation

a function for drawing selecitivity curves

Description

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

Usage

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

## 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)

[Package r4ss version 1.04 Index]