soda: soda

sodaR Documentation

soda

Description

A randomly generated data set of soda preference (cola or orange) based on location.

Usage

soda

Format

A data frame with 60 observations on the following 2 variables.

drink

Soda preference, cola or orange.

location

Is the person from the West coast or East coast?

Examples


library(dplyr)

soda %>%
  count(location, drink)

OpenIntroStat/openintro-r-package documentation built on Nov. 19, 2023, 4:58 p.m.