FishData: FishData: Yield of Salmon and Sea Trout

FishDataR Documentation

FishData: Yield of Salmon and Sea Trout

Description

This is real data of fish yield for the two species salmon and sea trout registered in 6 different rivers in south-eastern Norway for the period 2003 - 2008. The 6 rivers are randomly sampled from the population of Norwegian rivers.

Usage

FishData

Format

A data frame with 72 observations (rows) and 4 variables (columns).

Column name Data type Description Values
[,1] River character Observations from 6 rivers ("Numedalslaagen"..."Storelva i Lebesby")
[,2] Species character 2 types of fish ("Salmon", "Sea trout")
[,3] Year integer Observations from 6 years (2003 - 2008)
[,4] Yield integer Total yield in kg per year (14 - 18989)

Details

This data was used in the Exam STAT210 H22.

Source

This data is a subset of real data from "Elvefiske", a database from Statistics Norway (Statistisk sentralbyrå).

Examples


# A short summary of the variables
summary(FishData)

# Encode Species as factor and check the levels
FishData$Species <- as.factor(FishData$Species)
unique(FishData$Species)


thoree/stat340 documentation built on June 30, 2024, 4:04 p.m.