Learn R Programming

FSAdata (version 0.3.0)

RockBassLO2: Age (subsample) and length (all fish) of Rock Bass from Lake Ontario.

Description

Age (subsample) and length (all fish) of Rock Bass from Lake Ontario.

Arguments

Topic(s)

  • Age-length key

concept

'Age-Length Key'

Details

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

See Also

RockBassLO1.

Examples

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

## extract aged sample
rb.aged <- subset(RockBassLO2,!is.na(age))

## extract length sample
rb.length <- subset(RockBassLO2,is.na(age))

Run the code above in your browser using DataLab