bears | R Documentation |
Wild bears were anesthetized, and their bodies were measured and weighed. One goal of the study was to make a table (or perhaps a set of tables) for people interested in estimating the weight of a bear based on other measurements. Notice that there are missing values for some of the variables.
data(bears)
Contains individual-level variables, as follows:
Bear id
Age in total number of months.
Month number within a given year.
1 =male, 2 = female.
Length of head, in cm.
Width of head, in cm.
Girth of neck, in cm.
Body length, in cm.
Girth of chest, in cm.
body weight, in kg.
Temporal observation number for bear.
Name given to bear.
According to Prof. Timothy Gregoire at Yale University (New Haven, CT, USA), the data set was supplied by Gary Alt.
Entertaining references are in Reader's Digest April, 1979, and Sports Afield September, 1981.
data(bears)
head(bears)
table(bears$sex)
boxplot(headL~sex, data=bears)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.