R Dataset / Package HSAUR / roomwidth

On this R-data statistics page, you will find information about the roomwidth data set which pertains to Students Estimates of Lecture Room Width . The roomwidth data set is found in the HSAUR R package. You can load the roomwidth data set in R by issuing the following command at the console data("roomwidth"). This will load the data into a variable called roomwidth. If R says the roomwidth data set is not found, you can try installing the package by issuing this command install.packages("HSAUR") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the roomwidth R data set. The size of this file is about 1,231 bytes.

Students Estimates of Lecture Room Width

Description

Lecture room width estimated by students in two different units.

Usage

data("roomwidth")

Format

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

unit

a factor with levels feet and metres.

width

the estimated width of the lecture room.

Details

Shortly after metric units of length were officially introduced in Australia, each of a group of 44 students was asked to guess, to the nearest metre, the width of the lecture hall in which they were sitting. Another group of 69 students in the same room was asked to guess the width in feet, to the nearest foot. The data were collected by Professor T. Lewis and are taken from Hand et al (1994). The main question is whether estimation in feet and in metres gives different results.

Source

D. J. Hand, F. Daly, A. D. Lunn, K. J. McConway and E. Ostrowski (1994). A Handbook of Small Datasets, Chapman and Hall/CRC, London.

Examples

data("roomwidth", package = "HSAUR")
convert <- ifelse(roomwidth$unit == "feet", 1, 3.28)
boxplot(I(width * convert) ~ unit, data = roomwidth)

Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-hsaur-roomwidth.html" width="100%" height="100%" style="border:0px"></iframe>