autointensity             package:event             R Documentation

_P_l_o_t _A_u_t_o_i_n_t_e_n_s_i_t_y _F_u_n_c_t_i_o_n _o_f _a _P_o_i_n_t _P_r_o_c_e_s_s

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

     'autointensity' plots the autointensity function of a point
     process, including a solid horizontal line indicating the constant
     intensity of a Poisson process.

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

     autointensity(times, window=NULL, maxlag=total/10,
             ylab="Conditional probability", xlab="Lag",
             main="Autointensity function", xlim=c(0,max(times)),
             ylim=c(0,if(plotse)max(se1)else max(z$density)),
             lty=1, plot=TRUE, plotse=TRUE, add=FALSE, ...)

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

   times: Vector of times between events.

  window: Width of grouping interval.

  maxlag: Maximum lag to be calculated, by default the maximum
          interevent time.

    plot: If FALSE, values are returned but the function is not
          plotted.

  plotse: If TRUE, plots pointwise two-standard error bands around the
          curve.

     add: If TRUE, add curve to an existing plot.

  others: Plotting control options.

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

     A list containing the coordinates of the plotted function and the
     standard error bands.

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

     J.K. Lindsey

_R_e_f_e_r_e_n_c_e_s:

     Guttorp, P. (1995) Stochastic Modeling of Scientific Data. Chapman
     & Hall, pp. 229, 238-240.

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

     'cprocess'.

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

     times <- rgamma(100,2,scale=4)
     autointensity(times, window=3)

