plot.nffGroupedData           package:nlme           R Documentation

_P_l_o_t _a_n _n_f_f_G_r_o_u_p_e_d_D_a_t_a _O_b_j_e_c_t

_D_e_s_c_r_i_p_t_i_o_n:

     A Trellis dot-plot of the response by group is generated. If outer
     variables are specified, the combination of their levels are used
     to determine the panels of the Trellis display. The Trellis
     function 'dotplot' is used.

_U_s_a_g_e:

     ## S3 method for class 'nffGroupedData':
     plot(x, outer, inner, innerGroups, xlab, ylab, strip, panel, key,
          grid, ...)

_A_r_g_u_m_e_n_t_s:

       x: an object inheriting from class 'nffGroupedData',
          representing a 'groupedData' object with a factor primary
          covariate and a single grouping level. 

   outer: an optional logical value or one-sided formula, indicating
          covariates that are outer to the grouping factor, which are
          used to determine the panels of the Trellis plot. If equal to
          'TRUE', 'attr(object, "outer")' is used to indicate the outer
          covariates. An outer covariate is invariant within the sets
          of rows defined by the grouping factor.  Ordering of the
          groups is done in such a way as to preserve adjacency of
          groups with the same value of the outer variables. Defaults
          to 'NULL', meaning that no outer covariates are to be used. 

   inner: an optional logical value or one-sided formula, indicating a
          covariate that is inner to the grouping factor, which is used
          to associate points within each panel of the Trellis plot. If
          equal to 'TRUE', 'attr(object, "inner")' is used to indicate
          the inner covariate. An inner covariate can change within the
          sets of rows defined by the grouping  factor. Defaults to
          'NULL', meaning that no inner covariate  is present.  

innerGroups: an optional one-sided formula specifying a factor to be
          used for grouping the levels of the 'inner' covariate.
          Different colors, or symbols, are used for each level of the
          'innerGroups' factor. Default is 'NULL', meaning that no
          'innerGroups' covariate is present. 

    xlab: an optional character string with the label for the
          horizontal axis. Default is the 'y' elements of 'attr(object,
          "labels")' and 'attr(object, "units")' pasted together. 

    ylab: an optional character string with the label for the vertical
          axis. Default is the grouping factor name. 

   strip: an optional function passed as the 'strip' argument to the
          'dotplot' function. Default is 'strip.default(..., style =
          1)' (see 'trellis.args'). 

   panel: an optional function used to generate the individual panels
          in the Trellis display, passed as the 'panel' argument to the
          'dotplot' function. 

     key: an optional logical function or function. If 'TRUE' and
          either 'inner' or 'innerGroups' are non-'NULL', a legend for
          the different 'inner' ('innerGroups') levels is  included at
          the top of the plot. If given as a function, it is passed as
          the 'key' argument to the 'dotplot' function. Default is
          'TRUE' is either 'inner' or 'innerGroups' are non-'NULL' and
          'FALSE' otherwise. 

    grid: this argument is included for consistency with the
          'plot.nfnGroupedData' method calling sequence. It is ignored
          in this method function.

     ...: optional arguments passed to the 'dotplot' function.

_V_a_l_u_e:

     a Trellis dot-plot of the response by group.

_A_u_t_h_o_r(_s):

     Jose Pinheiro Jose.Pinheiro@pharma.novartis.com and Douglas Bates
     bates@stat.wisc.edu

_R_e_f_e_r_e_n_c_e_s:

     Bates, D.M. and Pinheiro, J.C. (1997), "Software Design for
     Longitudinal Data", in "Modelling Longitudinal and Spatially
     Correlated Data: Methods, Applications and Future Directions",
     T.G. Gregoire (ed.), Springer-Verlag, New York.

_S_e_e _A_l_s_o:

     'groupedData', 'dotplot'

_E_x_a_m_p_l_e_s:

     plot(Machines)
     plot(Machines, inner = TRUE)

