pairs.compareFits            package:nlme            R Documentation

_P_a_i_r_s _P_l_o_t _o_f _c_o_m_p_a_r_e_F_i_t_s _O_b_j_e_c_t

_D_e_s_c_r_i_p_t_i_o_n:

     Scatter plots of the values being compared are generated for each
     pair of coefficients in 'x'. Different symbols (colors) are used
     for each object being compared and values corresponding to the
     same group are joined by a line, to facilitate comparison of fits.
     If only two coefficients are present, the 'trellis' function
     'xyplot' is used; otherwise the 'trellis' function 'splom' is
     used.

_U_s_a_g_e:

     ## S3 method for class 'compareFits':
     pairs(x, subset, key, ...)

_A_r_g_u_m_e_n_t_s:

       x: an object of class 'compareFits'.

  subset: an optional logical or integer vector specifying which rows
          of 'x' should be used in the plots. If missing, all rows are
          used.

     key: an optional logical value, or list. If 'TRUE', a legend is
          included at the top of the plot indicating which symbols
          (colors) correspond to which objects being compared. If
          'FALSE', no legend is included. If given as a list, 'key' is
          passed down as an argument to the 'trellis' function
          generating the plots ('splom' or  'xyplot'). Defaults to
          'TRUE'.

     ...: optional arguments passed down to the 'trellis' function
          generating the plots.

_V_a_l_u_e:

     Pairwise scatter plots of the values being compared, with
     different symbols (colors) used for each object under comparison.

_A_u_t_h_o_r(_s):

     Jose Pinheiro and Douglas Bates

_S_e_e _A_l_s_o:

     'compareFits', 'plot.compareFits'

_E_x_a_m_p_l_e_s:

     data(Orthodont)
     fm1 <- lmList(Orthodont)
     fm2 <- lme(Orthodont)
     pairs(compareFits(coef(fm1), coef(fm2)))

