posum.stage.plot {posum}R Documentation

Stage specific posum fit plots

Description

produce stage specific plots from an object returned from posum(), if fit=FALSE then only the raw data is plotted.

Usage

posum.stage.plot(b,fit=TRUE)

Arguments

b A fitted model object as returned from posum.
fit if this is TRUE then the raw data and fitted values are plotted, otherwise just the raw data.

Details

Produces one plot for each stage, but does not alter graphics parameters. Fitted values are joined up by lines, but not by the smooth curves implied by the fitted model.

Value

Simply produces plots.

WARNING

Author(s)

Simon N. Wood snw@st-and.ac.uk

References

http://www.ruwpa.st-and.ac.uk/simon.html

See Also

posum.atplot, posum, posum.plot, posum.stage,

Examples

data<-population.data(fam="p",adult=TRUE) #simulate data
b<-posum(data,fam="p")
op<-par(mfrow=c(3,4))
posum.stage.plot(b)
rm(data,b)
par(op)

[Package Contents]