Learn R Programming

FSAdata (version 0.3.0)

SpotVA2: Age (subsample) and length (all fish) of Spot.

Description

As many as 10 fish per 1-inch total length intervals from the SpotVA1 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

source

Extracted from Table 1 in Chapter 8 (Spot) of the VMRC Final Report on Finfish Ageing, 2002 by the http://ww2.odu.edu/sci/cqfe/{Center for Quantitative Fisheries Ecology} at Old Dominion University.

Topic(s)

  • Age-length key

concept

'Age-Length Key'

See Also

SpotVA1 in FSA.

Examples

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

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

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

Run the code above in your browser using DataLab