attitude {base}R Documentation

Attitudes Toward Supervisors

Description

Not available (yet).

Usage

data(attitude)

Format

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

Source

Chatterjee, S. and Price, B. (1977) Regression Analysis by Example. New York: Wiley.

Examples

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)

[Package Contents]