Learn R Programming

SRMData (version 1.0.1)

EVpurchase: EV purchasing

Description

Details of people regarding the purchase of an EV.

Usage

data(EVpurchase)

Arguments

Format

A data frame with 4 rows (corresponding to the 4 cells in a $2$ times $2$ table) and three columns:

Education

The level of education; one of 1 ('no post-graduate study') or 2 (post-graduate study')

PurchaseEV

Whether respondent would purchase an electric vehicle in the next 10 years'; one of 1 (Yes) or 2 (No)

Counts

The number of respondents in the given cell