UKLungDeaths              package:stats              R Documentation

_M_o_n_t_h_l_y _D_e_a_t_h_s _f_r_o_m _L_u_n_g _D_i_s_e_a_s_e_s _i_n _t_h_e _U_K

_D_e_s_c_r_i_p_t_i_o_n:

     Three time series giving the monthly deaths from bronchitis,
     emphysema and asthma in the UK, 1974-1979, both sexes ('ldeaths'),
     males ('mdeaths') and females ('fdeaths').

_U_s_a_g_e:

     data(UKLungDeaths)

_S_o_u_r_c_e:

     P. J. Diggle (1990) _Time Series: A Biostatistical Introduction._
     Oxford, table A.3

_E_x_a_m_p_l_e_s:

     data(UKLungDeaths)
     plot(ldeaths) 
     plot(mdeaths, fdeaths) 
     ## Better labels:
     yr <- floor(tt <- time(mdeaths))
     plot(mdeaths, fdeaths,
          xy.labels = paste(month.abb[12*(tt - yr)], yr-1900, sep="'"))

