

   attitude {base}                              R Documentation

   AAttttiittuuddeess TToowwaarrdd SSuuppeerrvviissoorrss

   DDeessccrriippttiioonn::

        Not available (yet).

   UUssaaggee::

        data(attitude)

   FFoorrmmaatt::

        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

   SSoouurrccee::

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

   EExxaammpplleess::

        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)

