Learn R Programming

FSAdata (version 0.4.1)

SnapperHG2: Ages (subsample) and lengths (all fish) for Snapper.

Description

A large sample (approximately fixed sample size per length interval) of Snapper (Pagrus auratus) were aged, with the remainder of the fish just measured for length. Note that age-16 is actually age 16+ and length 60 is for 60-64 cm and 65 is for 65+ cm.

Arguments

Format

A data frame of 6724 observations on the following 2 variables:

len

Measured lengths (cm)

age

Ages assigned

Topic(s)

  • Age-Length Key

See Also

See the same data in summarized format as alkdata in fishmethods.

Examples

Run this code
data(SnapperHG2)
str(SnapperHG2)
head(SnapperHG2)

## Extract the aged sample
sn2.aged <- subset(SnapperHG2,!is.na(age))
str(sn2.aged)

## Extract the length sample
sn2.length <- subset(SnapperHG2,is.na(age))
str(sn2.length)

Run the code above in your browser using DataLab