Learn R Programming

dauR (version 1.0)

smoke_class: This dataset is used to illustrate the concept of contingency table

Description

This dataset shows smoking habit of 198 drivers of three types of vehicles. The types of vehicles are Bus, Truck and Taxi. Here our aim is to find whether there is any association between smoking habit and the occupation type, represented here by the type of vehicle driven.

Usage

smoke_class

Arguments

Format

A data frame with 198 rows and 2 variables:

Class

Type of vehicle driven

SmokingStatus

Categorial verible, showing whether smoker of non-smoker

Examples

Run this code
data(smoke_class, package = "dauR")
head(smoke_class)

Run the code above in your browser using DataLab