student.housing: Community college housing (simulated data, 2015)

Description Usage Format Examples

Description

These are simulated data and intended to represent housing prices of students at a college.

Usage

1
data("student.housing")

Format

A data frame with 175 observations on the following variable.

price

Monthly housing price, simulated.

Examples

1
2
3
4
5
6
7
8
9
data(student.housing)
set.seed(5)
generate.student.housing <- data.frame(
    price = round(rnorm(175, 515, 65) + exp(rnorm(175, 4.2, 1))))
hist(student.housing$price, 20)
t.test(student.housing$price)
mean(student.housing$price)
sd(student.housing$price)
identical(student.housing, generate.student.housing)

JECheadle/RSOC317L documentation built on May 15, 2019, 4:02 a.m.