Noise: Noise

NoiseR Documentation

Noise

Description

In order to test the effect of room noise, subjects were given a test under 5 different sets of conditions: 1) no noise, 2) intermittent low volume, 3) intermittent high volume, 4) continuous low volume, and 5) continuous high volume.

Format

A data frame with 50 observations on the following 5 variables.

id

subject identifier

score

score on the test

condition

numeric code for condition

volume

a factor with levels high low none

frequency

a factor with levels continuous intermittent none

Examples


data(Noise)
Noise2 <- Noise %>% filter(volume != 'none')
model <- lm(score ~ volume * frequency, data = Noise2) 
anova(model)
gf_jitter(score ~ volume, data = Noise2, color = ~ frequency, 
          alpha = 0.4, width = 0.1, height = 0) %>%
  gf_line(score ~ volume, data = Noise2, group = ~frequency, color = ~ frequency,
          stat = "summary")
        
gf_jitter(score ~ frequency, data = Noise2, color = ~ volume, 
          alpha = 0.4, width = 0.1, height = 0) %>%
  gf_line(score ~ frequency, data = Noise2, group = ~ volume, color = ~ volume,
          stat = "summary")


fastR2 documentation built on Nov. 9, 2023, 9:06 a.m.