powered by
Age of people, and whether they bring their own shopping bags.
data(ShoppingBags)
A data frame with 6 rows and 3 columns:
The age group: 1 means '30 and under'; 2 means '31 to 40'; 3 means 'Over 40'
1
2
3
Whether people bring their own shopping bags or not; y means they do; n means they do not
y
n
The number of people in each designated category