Fish#
Data set for modeling weight on the other variables. Data was first presented in a publication from 1917.
Apparently, observation 143 had 6 roach in its stomach and may be an outlier.
Initialization#
library(fosdata)
data <- fosdata::fishAccessing fields#
data <- fosdata::fish
width_percent <- data$width_percent # Just a random field in the datasetInteractive R Sample#
You can use the R editor below to interactively explore the dataset and generate plots. This contains a fully self-contained R environment with fosdata, ggplot2, and dplyr loaded.
LLM instructions#
If using an LLM, you can copy-paste the following instructions to accompany your prompt to inform the model of the fields and their types in the dataset.
LLM Instructions
The fosdata::fish dataset containing the following fields:
fields[9]{name,type,values}:
obs,integer,n/a
species,integer,n/a
weight,numeric,n/a
length1,numeric,n/a
length2,numeric,n/a
length3,numeric,n/a
height_percent,numeric,n/a
width_percent,numeric,n/a
sex,integer,n/aFields#
| Name | Description | Type | Min | Max | Values |
|---|---|---|---|---|---|
obs |
Observation number | integer | 1 | 159 | - |
species |
One of 1 = Bream, 2 = Whitefish, 3 = Roach, 4 = Parkki, 5 = Smelt, 6 = Pike or 7 = Perch | integer | 1 | 7 | - |
weight |
Weight of fish (g) | numeric | - | 1650 | - |
length1 |
Length from nose to the beginning of the tail (cm) | numeric | 7.5 | 59 | - |
length2 |
Length from nose to the notch of the tail (cm) | numeric | 8.4 | 63.4 | - |
length3 |
Length from nose to end of tail (cm) | numeric | 8.8 | 68 | - |
height_percent |
Maximal height as percentage of length3 | numeric | 14.5 | 44.5 | - |
width_percent |
Maximal width as percentage of length3 | numeric | 8.7 | 20.9 | - |
sex |
1 = male, 0 = female | integer | - | 1 | - |
Source#
“Brofeldt, Pekka: Bidrag till kaennedom on fiskbestondet i vaara sjoear. Laengelmaevesi. T.H.Jaervi: Finlands Fiskeriet Band 4 Meddelanden utgivna av fiskerifoereningen i Finland. Helsingfors 1917 http://jse.amstat.org/datasets/fishcatch.txt