Learn R Programming

datana (version 1.0.6)

bears: Age and physical measurement data for wild bears

Description

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.

Usage

data(bears)

Arguments

Format

Contains individual-level variables, as follows:

id

Bear id

age

Age in total number of months.

month

Month number within a given year.

sex

1 =male, 2 = female.

headL

Length of head, in cm.

headW

Width of head, in cm.

neckG

Girth of neck, in cm.

length

Body length, in cm.

chestG

Girth of chest, in cm.

weight

body weight, in kg.

obs

Temporal observation number for bear.

name

Name given to bear.

References

Entertaining references are in Reader's Digest April, 1979, and Sports Afield September, 1981.

Examples

Run this code
data(bears)    
head(bears) 
table(bears$sex)
boxplot(headL~sex, data=bears)

Run the code above in your browser using DataLab