R/FWDrumLE2.R

#' @title Ages (subsample) and lengths (all fish) for Freshwater Drum from Lake Erie.
#' 
#' @description A total of 253 fish dispersed proportionately over 10-mm total length intervals from the \code{\link{FWDrumLE1}} 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.
#' 
#' @name FWDrumLE2
#' 
#' @docType data
#' 
#' @format A data frame with 1577 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{FWDrumLE1}}.
#' 
#' @source \href{https://raw.githubusercontent.com/fishR-Core-Team/FSAdata/main/data-raw/FWDrumLE2.csv}{CSV file}
#' 
#' @keywords datasets
#' 
#' @examples
#' data(FWDrumLE2)
#' str(FWDrumLE2)
#' head(FWDrumLE2)
#' ## Extract the aged sample
#' FWD.aged <- subset(FWDrumLE2,!is.na(age))
#' str(FWD.aged)
#' ## Extract the length sample
#' FWD.length <- subset(FWDrumLE2,is.na(age))
#' str(FWD.length)
#' 
NULL
droglenc/FSAdata documentation built on Aug. 30, 2023, 12:53 a.m.