UUnion: A simulated survey given to NAU students.

Description Usage Format Examples

Description

This data is a simulation of a survey designed to measure how frequently students visit the University Union Building on campus. The data collected for each student includes their year in school (freshman through graduate student) as well as their average number of visits per week. Information about NAUs student population demographics can be found at: http://www4.nau.edu/pair/quickfact.asp

Usage

1

Format

A data frame with 1100 rows and 2 variables:

Year

A factor denoting what year in school the respondant is.

NumPerWeek

The number of times per week the repondant visits the UU.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
library(ggplot2)
data(UUnion)

ggplot(UUnion, aes(x=Year, y=NumPerWeek)) +
  geom_boxplot()
  
# calculate some summary statistics   
library(dplyr)
UUnion %>% group_by(Year) %>%
  summarize(mean = mean(NumPerWeek),
            sd   = sd(NumPerWeek))

dereksonderegger/dsData documentation built on Nov. 22, 2020, 5:15 p.m.