

cpgram {ts}                                  R Documentation

_P_l_o_t _C_u_m_u_l_a_t_i_v_e _P_e_r_i_o_d_o_g_r_a_m

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

     Plots a cumulative periodogram

_U_s_a_g_e_:

     cpgram(ts, taper=0.1, main=
              paste("Series: ", deparse(substitute(ts))))

_A_r_g_u_m_e_n_t_s_:

      ts: a univariate time series

   taper: proportion tapered in forming the periodogram

    main: main title

_V_a_l_u_e_:

     None.

_S_i_d_e _E_f_f_e_c_t_s_:

     Plots the cumulative periodogram in a square plot.

_N_o_t_e_:

     From package `MASS'.

_A_u_t_h_o_r_(_s_)_:

     B.D. Ripley

_E_x_a_m_p_l_e_s_:

     par(pty="s", mfrow=c(1,2))
     data(lh)
     cpgram(lh)
     lh.ar <- ar(lh, order.max=9)
     cpgram(lh.ar$resid, main="AR(3) fit to lh")

     data(UKLungDeaths)
     cpgram(ldeaths)

