Learn R Programming

alr4 (version 1.0.5)

shocks: Small electric shocks in dairy cows

Description

Results of a small experiment to learn about the effects of small electric shocks on dairy cows.

Arguments

Format

A data frame with 6 observations on the following 3 variables.
Intensity
Shock level, milliamps
m
Number of trials
Y
Number of times a positive reaction was observed

Source

R. Norell

References

Weisberg, S. (2014). Applied Linear Regression, 4th edition. Hoboken NJ: Wiley.

Examples

Run this code
head(shocks)

Run the code above in your browser using DataLab