attitude                package:base                R Documentation

_A_t_t_i_t_u_d_e_s _T_o_w_a_r_d _S_u_p_e_r_v_i_s_o_r_s

_D_e_s_c_r_i_p_t_i_o_n:

     Not available (yet).

_U_s_a_g_e:

     data(attitude)

_F_o_r_m_a_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_o_u_r_c_e:

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

_E_x_a_m_p_l_e_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)

