Learn R Programming

rrcov (version 1.7-6)

salmon: Salmon data

Description

The salmon data contains two measurements of the growth rings on the scale of Alaskan and Canadian salmon as well as the gender of the fishes. There are 50 Alaskan-born and 50 Canadian-born salmon, and this information is coded in the variable Origin.

Usage

data(salmon)

Arguments

Format

A data frame with 100 observations on the following 4 variables.

Gender

female=1 and male=2

Freshwater

diameter of rings for the first-year freshwater growth (hundrets of an inch)

Marine

diameter of rings for the first-year marine growth (hundrets of an inch)

Origin

Origin of the fish: a factor with levels Alaskan Canadian

Examples

Run this code
data(salmon)

Run the code above in your browser using DataLab