Learn R Programming

FSAdata (version 0.4.1)

StripedBass3: Ages (subsample) and lengths (all fish) for Striped Bass.

Description

As many as 10 fish per 1-inch total length intervals from the StripedBass2 data frame were obtained for age assignment. The remaining fish in the file were only measured for length (i.e., the ages were deleted). This data file can be used to demonstrate the use of age-length keys.

Arguments

Format

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

tl

Measured total lengths (in inches).

age

Ages assigned from examination of otoliths.

Topic(s)

  • Age-Length Key

See Also

StripedBass2.

Examples

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

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

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

Run the code above in your browser using DataLab