perstat                 package:eha                 R Documentation

_P_e_r_i_o_d _s_t_a_t_i_s_t_i_c_s

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

     Calculates occurrence / exposure rates for time periods given by
     'period' and for ages given by 'age'.

_U_s_a_g_e:

     perstat(surv, period, age = c(0, 200))

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

    surv: An (extended) 'surv' object (4 columns with 'enter', 'exit',
          'event', 'birthdate') 

  period: A vector of dates (in decimal form)

     age: A vector of length 2; lowest and highest age

_D_e_t_a_i_l_s:

_V_a_l_u_e:

     A list with components 

  events: No. of events in eavh time period.

exposure: Exposure times in each period.

intensity: 'events / exposure'

_A_u_t_h_o_r(_s):

     Gran Brostrm

_S_e_e _A_l_s_o:

     'piecewise'

