Learn R Programming

fastR (version 0.10.3)

noise: Noise -- unfinished documentation

Description

In order to test the effect of room noise, subjects were given a test under 5 diff 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[noise$volume != 'none',] 
model <- lm(score~volume*frequency, data=noise2) 
anova(model)
xyplot(score~volume,noise2, groups=frequency, type='a',
		auto.key=list(columns=2, points=FALSE, lines=TRUE))

# }

Run the code above in your browser using DataLab