R/DarterOnt.R

#' @title Ages and lengths of Channel Darters from two locations.
#' 
#' @description Assigned ages (from otoliths), total length, and collection location of Channel Darter (\emph{Percina copelandi}).
#' 
#' @name DarterOnt
#' 
#' @docType data
#' 
#' @format A data frame of 54 observations on the following 3 variables:
#'  \describe{
#'    \item{age}{Otolith age-at-capture (years).} 
#'    \item{tl}{Total length (nearest 0.1 mm) at capture.} 
#'    \item{river}{Location of capture (Salmon or Trent Rivers).} 
#'  }
#'  
#' @note The original author used a linear model to describe the relationship between length and age.
#' 
#' @section Topic(s):
#'  \itemize{
#'    \item Growth
#'    \item von Bertalanffy
#'  }
#'  
#' @concept Growth
#' @concept von Bertalanffy
#' 
#' @source From Figure 2 of Reid, S.M. Age estimates and length distributions of Ontario channel darter (\emph{Percina copelandi}) populations. Journal of Freshwater Ecology 19:441-444. \href{https://raw.githubusercontent.com/fishR-Core-Team/FSAdata/main/data-raw/DarterOnt.csv}{CSV file}
#' 
#' @keywords datasets
#' 
#' @examples
#' data(DarterOnt)
#' str(DarterOnt)
#' head(DarterOnt)
#' op <- par(mfrow=c(1,2),pch=19)
#' plot(tl~age,data=DarterOnt,subset=river=="Salmon",main="Salmon R.")
#' plot(tl~age,data=DarterOnt,subset=river=="Trent",main="Trent R.")
#' par(op)
#' 
NULL

Try the FSAdata package in your browser

Any scripts or data that you put into this service are public.

FSAdata documentation built on Aug. 24, 2023, 5:06 p.m.