50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

fastR2 (version 0.2.0)

Noise: 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.

Arguments

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

Run this code
# NOT RUN {
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")

# }

Run the code above in your browser using DataLab