fish: Fish length data

fishR Documentation

Fish length data

Description

A numeric vector containing 256 observations of fish lengths.

Usage

data(fish)

Format

A numeric vector of length 256.

Details

This data set can be used for modeling unobserved heterogeneity, as it can be assumed that underlying categories present in the data are the age groups to which the fish belong.

Source

D. M. Titterington, A. F. M. Smith and U.E. Makov (1985) Statistical Analysis of Finite Mixture Distributions. Wiley.

Examples

data("fish", package = "bayesmix")
ss <- seq(-3, 13, by = 0.01)
hist(fish[[1]], 20, freq = FALSE, main = "Fish data")
lines(ss, dnorm(ss, mean(fish[[1]]), sd(fish[[1]])), col = "red")

bayesmix documentation built on April 14, 2023, 12:27 a.m.

Related to fish in bayesmix...