/
CiscoTL.R
44 lines (44 loc) · 1.48 KB
/
CiscoTL.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#' @title Lengths, weights, and sex of Cisco from Trout Lake, WI.
#'
#' @description Lengths, weights, and sex for Cisco (\emph{Coregonus artedii}) from Trout Lake, WI, 1981-2006. Fish were collected with a variety of gears.
#'
#' @name CiscoTL
#'
#' @docType data
#'
#' @format A data frame of 8594 observations on the following 8 variables:
#' \describe{
#' \item{lakeid}{Lake name (all \code{TR}=Trout Lake)}
#' \item{year4}{Year of capture}
#' \item{sampledate}{Date of capture}
#' \item{gearid}{Capture gear type}
#' \item{spname}{Species name (all \code{CISCO})}
#' \item{length}{Total length (nearest mm) at capture}
#' \item{weight}{Weight (nearest 0.1 or 1 g) at capture}
#' \item{sex}{Sex (\code{F}=Female, \code{I}=Immature, \code{M}=Male)}
#' }
#'
#' @section Topic(s):
#' \itemize{
#' \item Weight-Length
#' \item Length Frequency
#' }
#'
#' @concept Weight-Length
#' @concept Length Frequency
#'
#' @source Obtained from query to North Temperate Lakes LTER data portal at the University of Wisconsin Center for Limnology. \href{https://raw.githubusercontent.com/fishR-Core-Team/FSAdata/main/data-raw/CiscoTL.csv}{CSV file}
#'
#' @keywords datasets
#'
#' @examples
#' data(CiscoTL)
#' str(CiscoTL)
#' head(CiscoTL)
#' op <- par(mfrow=c(2,2),pch=19)
#' plot(weight~length,data=CiscoTL,subset=sex=="F",main="Female")
#' plot(weight~length,data=CiscoTL,subset=sex=="M",main="Male")
#' plot(weight~length,data=CiscoTL,subset=sex=="I",main="Immature")
#' par(op)
#'
NULL