| attitude {base} | R Documentation |
Not available (yet).
data(attitude)
A data from with 30 observations on 7 variables.
| [,1] | rating | numeric | Overall rating |
| [,2] | complaints | numeric | Handling of employee complaints |
| [,3] | privileges | numeric | Gives special privileges |
| [,4] | learning | numeric | Opportunity to learn |
| [,5] | raises | numeric | Gives raises |
| [,6] | critical | numeric | Too critical |
| [,7] | advancel | numeric | Advancement |
Chatterjee, S. and Price, B. (1977) Regression Analysis by Example. New York: Wiley.
data(attitude)
pairs(attitude, main = "attitude data")
summary(attitude)
summary(fm1 <- lm(rating ~ ., data = attitude))
opar <- par(mfrow = c(2, 2), oma = c(0, 0, 1.1, 0),
mar = c(4.1, 4.1, 2.1, 1.1))
plot(fm1)
summary(fm2 <- lm(rating ~ complaints, data = attitude))
plot(fm2)
par(opar)