YERockfish | R Documentation |
Ages, lengths, and maturity for female Yelloweye Rockfish (Sebastes rubberimus) from Oregon.
A data frame with 159 observations on the following 5 variables.
Date fish was collected
Total length (cm)
Otolith age
Maturity state (Immature
or Mature
)
Stage of maturity (1
:Immature, 2
:Maturing, 3
:Mature, 4
:Fertilized, 5
:Ripe, 6
:Spent, 7
:Resting)
Growth
Maturity
von Bertalanffy
Obtained directly (from Bob Hannah). Data were used in Hannah, R.W, M.T.O. Blume, and J.E. Thompson. 2009. Length and age at maturity of female yelloweye rockfish (Sebastes rubberimus) and cabezon (Scorpaenichthys marmoratus) from Oregon waters based on histological evaluation of maturity. Oregon Department of Fish and Wildlife, Information Reports 2009-04. [Was (is?) from http://www.dfw.state.or.us/mrp/publications/docs/Info200904_YlwEyeRF_Maturity.pdf] CSV file
data(YERockfish)
str(YERockfish)
head(YERockfish)
op <- par(mfrow=c(2,2),pch=19)
plot(length~age,data=YERockfish,ylab="Total Length (cm)",xlab="Age")
hist(YERockfish$length,xlab="Total Length (cm)",main="")
tbl1 <- with(YERockfish,table(age,maturity))
(ptbl1 <- prop.table(tbl1,margin=1))
plot(ptbl1[,2]~as.numeric(row.names(ptbl1)),type="l",xlab="Age",ylab="Proportion Mature")
tbl2 <- with(YERockfish,table(length,maturity))
(ptbl2 <- prop.table(tbl2,margin=1))
plot(ptbl2[,2]~as.numeric(row.names(ptbl2)),type="l",xlab="Age",ylab="Proportion Mature")
par(op)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.