R/RockBassL02.R

#' @title Ages (subsample) and lengths (all fish) for Rock Bass from Lake Ontario.
#' 
#' @description Ages (subsample) and lengths (all fish) for Rock Bass from Lake Ontario.
#' 
#' @details As many as 10 fish per 10-mm total length intervals from the \code{\link{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.
#' 
#' @name RockBassLO2
#' 
#' @docType data
#' 
#' @format A data frame with 1288 observations on the following 2 variables:
#'  \describe{
#'    \item{age}{Assigned ages (from scales)}
#'    \item{tl}{Measured total lengths (mm)}
#'  }
#'  
#' @section Topic(s):
#'  \itemize{
#'    \item Age-Length Key
#'  }
#'  
#' @concept Age-Length Key
#' 
#' @seealso \code{\link{RockBassLO1}}.
#' 
#' @source \href{https://raw.githubusercontent.com/fishR-Core-Team/FSAdata/main/data-raw/RockBassLO2.csv}{CSV file}
#' 
#' @keywords datasets
#' 
#' @examples
#' 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))
#' 
NULL
droglenc/FSAdata documentation built on Aug. 30, 2023, 12:53 a.m.