Title: | Kootenay Lake Data |
---|---|
Description: | Annual Rainbow Trout, Bull Trout and Kokanee datasets for Kootenay Lake. |
Authors: | Jeff Burrows [aut, dtc], Matt Neufeld [aut, dtc], Greg Andrusak [aut, dtc], Marley Basset [aut, dtc], Eva Schindler [aut, dtc], Joe Thorley [aut, cre, dtc] , Evan Amies-Galonski [aut, ctb], Murray Pearson [dtc], Rhonda Gates [dtc], Jess Spencer [dtc] |
Maintainer: | Joe Thorley <[email protected]> |
License: | Apache License (== 2.0) | file LICENSE |
Version: | 0.3.1.9001 |
Built: | 2024-11-16 05:51:27 UTC |
Source: | https://github.com/poissonconsulting/kootlake |
The annual resistivity counter and redd counts for Kaslo and Keen Creeks.
bulltrout
bulltrout
A tbl data frame:
The year (int).
The Kaslo Creek redd count (int).
The Keen Creek redd count (int).
The Kaslo Creek resistivity counter count (int).
Data for individual Rainbow Trout in lakes and rivers.
fish
fish
A data.frame
The year (int).
The month (int).
The day (int).
Species by code eg. "RB" (factor, 1 level).
Fork length in mm (int).
Weight in kg (int).
Sex, "male" or "female" (factor, 2 levels).
number of eggs (int).
Lake or River (factor, 2 levels)
Sample ID
The source of the data (char).
comments for observations with year date ranges (char).
The Kootenay Lake fishery data.
fishery
fishery
A data.frame:
The start year of the angling season which runs from April to March (int).
The end year of the angling season which runs from April to March (int).
The number of KLRT licenses sold (int).
Number of end of season surveys mailed out to licence holders (int).
Number of filled surveys returned (int).
The estimated number of angler hours expended by anglers who purchased a Kootenay Lake Rainbow Trout (KLRT) Conservation Surcharge License (int).
Harvested and Released counts for Bull and Rainbow Trout
fishery_catch
fishery_catch
A data.frame
The start year of the angling season (int).
The end year of the angling season (int).
Estimated count of individuals harvested (int).
Estimated count of individuals released (int).
Bottom of weight range (int).
Top of weight range (int).
Species, RB or BT (factor. 2 levels).
The Gerrard Rainbow Trout spawner counts.
gerrard
gerrard
A data.frame:
The year of the spawner count (int).
The peak count (int).
The total number of fish days (int).
The total number of fish removed prior to spawning.
The total escapement can be estimated by multiplying the peak count by 3.08 or by dividing the total number of fish days by the residence time (currently) assumed to be 11.9 days.
Estimates missing variable values from a predictor using a linear model.
kl_estimate_na( x = kootlake::bulltrout, variable = "KasloRedds", predictor = "KasloCounter" )
kl_estimate_na( x = kootlake::bulltrout, variable = "KasloRedds", predictor = "KasloCounter" )
x |
A data frame with columns of the variable and predictor. |
variable |
A string of the name of the variable column. |
predictor |
A string of the name of the predictor column. |
The original data frame with missing variable values replaced by the estimated value.
The Kokanee escapement.
kokanee
kokanee
A data.frame:
The year (int).
The Lardeau River escapement (int).
The Meadow Creek escapement (int).
The mean number of eggs per female (int).
The mean male spawner fork length in mm (int).
The mean female spawner fork length in mm (int).
Annual Rainbow Trout, Bull Trout and Kokanee datasets for Kootenay Lake.
It includes the 'kl_estimate_na()' function to estimate missing variable values from a predictor using a linear model. By default it estimates missing Bull Trout redd counts for Kaslo Creek using the resistivity counter counts.
bulltrout
, fishery
, gerrard
and kokanee
library(ggplot2) data(gerrard) gerrard$Escapement <- gerrard$PeakCount * 3.08 ggplot(data = gerrard, aes(x = Year, y = Escapement)) + geom_line() + expand_limits(y = 0)
library(ggplot2) data(gerrard) gerrard$Escapement <- gerrard$PeakCount * 3.08 ggplot(data = gerrard, aes(x = Year, y = Escapement)) + geom_line() + expand_limits(y = 0)
function included as workaround for issue: https://github.com/r-lib/covr/issues/427
temp_function(x)
temp_function(x)
x |
Any object |
The same object.