Details of people regarding the purchase of an EV.
data(EVpurchase)A data frame with 4 rows (corresponding to the 4 cells in a $2$ times $2$ table) and three columns:
The level of education;
one of 1 ('no post-graduate study') or
2 (post-graduate study')
Whether respondent would purchase an electric vehicle
in the next 10 years';
one of 1 (Yes) or 2 (No)
The number of respondents in the given cell