Usage
growthTraject(K, Linf, dat, lentag, lenrec, timelib, subsets=NULL,
main = "Growth trajectories & fitted curve",
cex.lab=1.5, cex.axis=1.5, cex.main=1,
xlab="Relative age, yr", ylab="Length, cm",
xlim=NULL, ylim=NULL,ltytraject=1, lwdtraject=1,
coltraject=1, ltyvonB=1, lwdvonB=2, colvonB="red",
returnvec=FALSE, returnlimits=FALSE, warn=TRUE, ...)
Arguments
K
parameter of the von Bertalanffy growth equation
Linf
parameter of the von Bertalanffy growth equation
dat
dataframe containing length at tagging, length at recapture
and time at liberty. These must be named lentag, lenrec
and timelib or else column 1 must contain the length at
tagging, column 2 must
lentag
alternative way to pass data to function
lenrec
alternative way to pass data to function
timelib
alternative way to pass data to function
subsets
factor or integer variable specifying subsets of the data
to be plotted with separate colors or line types
main
an overall title for the plot
cex.lab
The magnification to be used for x and y labels relative to
the current setting of cex
cex.axis
The magnification to be used for axis annotation relative to
the current setting of cex
cex.main
The magnification to be used for main titles relative to
the current setting of cex
xlab
a title for the x axis
ylab
a title for the y axis
xlim
lower and upper limits of x axis e.g., c(0,100)
ylim
lower and upper limits of y axis e.g., c(0,100)
ltytraject
line type for the growth trajectories
lwdtraject
line width for the growth trajectories
coltraject
line color for the growth trajectories
ltyvonB
line type for the fitted von Bertalanffy growth curve
lwdvonB
line width for the fitted von Bertalanffy growth curve
colvonB
line color for the fitted von B. curve
returnvec
logical for whether the coordinates of the line
segments should be returned)
returnlimits
logical for whether the x-axis and y-axis limits
should be returned
warn
logical - if TRUE, function issues a warning if names of variables
in dat do not match the 3 names expected.
...
other arguments to pass to plot