Learn R Programming

UsingR (version 2.0-7)

student.expenses: Some simulated data on student expenses

Description

Some data for possible student expenses

Usage

data(student.expenses)

Arguments

Format

A data frame of 5 variables for 10 students. All answers are coded "Y" for yes, "N" for no.

cell.phone

Does student have cell phone.

cable.tv

Does student have cable TV.

dial.up

Does student pay for dial-up internet access.

cable.modem

Does student pay for high-speed or cable modem access to internet.

car

Does student own a car.

Details

Sample dataset of students expenses.

Examples

Run this code
# NOT RUN {
data(student.expenses)
attach(student.expenses)
table(dial.up,cable.modem)
# }

Run the code above in your browser using DataLab