plot.ACF                package:nlme                R Documentation

_P_l_o_t _a_n _A_C_F _O_b_j_e_c_t

_D_e_s_c_r_i_p_t_i_o_n:

     an 'xyplot' of the autocorrelations versus the lags, with 'type =
     "h"', is produced. If 'alpha > 0', curves representing the
     critical limits for a two-sided test of level 'alpha' for the
     autocorrelations are added to the plot.

_U_s_a_g_e:

     ## S3 method for class 'ACF':
     plot(x, alpha, xlab, ylab, grid, ...)

_A_r_g_u_m_e_n_t_s:

       x: an object inheriting from class 'ACF', consisting of a data
          frame with two columns named 'lag' and 'ACF', representing
          the autocorrelation values and the corresponding lags.  

   alpha: an optional numeric value with the significance level for
          testing if the autocorrelations are zero. Lines corresponding
          to the lower and upper critical values for a test of level
          'alpha' are added to the plot. Default is '0', in which case
          no lines are plotted. 

xlab,ylab: optional character strings with the x- and y-axis labels.
          Default respectively to '"Lag"' and  '"Autocorrelation"'.  

    grid: an optional logical value indicating whether a grid should be
          added to plot. Default is 'FALSE'.

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

_V_a_l_u_e:

     an 'xyplot' Trellis plot.

_A_u_t_h_o_r(_s):

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

_S_e_e _A_l_s_o:

     'ACF', 'xyplot'

_E_x_a_m_p_l_e_s:

     data(Ovary)
     fm1 <- lme(follicles ~ sin(2*pi*Time) + cos(2*pi*Time), Ovary)
     plot(ACF(fm1, maxLag = 10), alpha = 0.01)

