Learn R Programming

LifeHist (version 1.0-1)

plot.MatData: Exploratory Analisys of a Logistic Model on a Graphical Display

Description

A one panel plot with data on proportion of sexual maturity and a line built with initial parameter values or with maximum likelihood estimates

Usage

"plot"(x, pred.50, pred.95, top.text, ...)

Arguments

x
An object of class MatData.
pred.50
Numeric, the predictor value at 0.5 proportion mature.
pred.95
Numeric, the predictor value at 0.95 proportion mature.
top.text
Character, to be used as main for plot.
...
Pass additional parameters to plot().

Value

A plot of data and model

Examples

Run this code
data(BlackAngler.lenmatdat)
BA.matlen     <- MatCount(matdat=BlackAngler.lenmatdat,
                          fem.key=2,
                          mal.key=1,
                          stage.key=2,
                          season.key=c(5,7))
plot(BA.matlen[[2]],pred.50=35,pred.95=55,top.text="Males Rep Season")

Run the code above in your browser using DataLab