salmon | R Documentation |
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
.
data(salmon)
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
Johnson, R.A. and Wichern, D. W. Applied Multivariate Statistical Analysis (Prentice Hall, International Editions, 2002, fifth edition)
data(salmon)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.