Learn R Programming

dslabs (version 0.7.1)

divorce_margarine: Divorce rate and margarine consumption data

Description

Divorce rates in Maine and per capita consumption of margarine in US data

Usage

data(divorce_margarine)

Arguments

Format

An object of class "data.frame".

Details

  • divorce_rate_maine. Divorce per 1000 in Maine.

  • margarine_consumption_per_capita. US per capita consumption of margarine in pounds.

  • year. Year.

Examples

Run this code
# NOT RUN {
data(divorce_margarine)
with(divorce_margarine, plot(margarine_consumption_per_capita, divorce_rate_maine))
# }

Run the code above in your browser using DataLab