Ages (subsample) and lengths (all fish) for Rock Bass from Lake Ontario.
Source:R/RockBassL02.R
RockBassLO2.Rd
Ages (subsample) and lengths (all fish) for Rock Bass from Lake Ontario.
Format
A data frame with 1288 observations on the following 2 variables:
- age
Assigned ages (from scales)
- tl
Measured total lengths (mm)
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.
Examples
data(RockBassLO2)
str(RockBassLO2)
#> 'data.frame': 1288 obs. of 2 variables:
#> $ age: int 6 5 7 9 9 7 8 4 6 8 ...
#> $ tl : int 218 184 211 223 245 181 207 173 201 246 ...
head(RockBassLO2)
#> age tl
#> 1 6 218
#> 2 5 184
#> 3 7 211
#> 4 9 223
#> 5 9 245
#> 6 7 181
## extract aged sample
rb.aged <- subset(RockBassLO2,!is.na(age))
## extract length sample
rb.length <- subset(RockBassLO2,is.na(age))