Learn R Programming

SRMData (version 1.0.1)

ShoppingBags: Shopping bags

Description

Age of people, and whether they bring their own shopping bags.

Usage

data(ShoppingBags)

Arguments

Format

A data frame with 6 rows and 3 columns:

AgeGroup

The age group: 1 means '30 and under'; 2 means '31 to 40'; 3 means 'Over 40'

BringBags

Whether people bring their own shopping bags or not; y means they do; n means they do not

Counts

The number of people in each designated category