Learn R Programming

FSAdata (version 0.4.1)

Morwong4a: Ages (subsample) and lengths (all fish) for Morwong from Morwong4.

Description

A total of 104 fish dispersed proportionately over 1-cm fork length intervals from the Morwong4 data frame was 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 with 392 observations on the following 2 variables.

fl

Fork lengths (cm)

age

Assigned ages

Topic(s)

  • Age-Length Key

See Also

Morwong4.

Examples

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

## extract aged sample
m4a.aged <- subset(Morwong4a,!is.na(age))
str(m4a.aged)

## extract length sample
m4a.length <- subset(Morwong4a,is.na(age))
str(m4a.length)

Run the code above in your browser using DataLab