intpcf                 package:delt                 R Documentation

_C_a_l_c_u_l_a_t_e_s _t_h_e _i_n_t_e_g_r_a_l _o_f _a _p_i_e_c_e_w_i_s_e _c_o_n_s_t_a_n_t _f_u_n_c_t_i_o_n

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

     Calculates the integral of a piecewise constant function.

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

     intpcf(pcf)

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

     pcf: piecewise constant function 

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

     Real number; the integral of the piecewise cosntant function

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

     Jussi Klemelä

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

     dendat<-sim.data(n=100,seed=5,type="mulmodII")
     eva<-eval.greedy(dendat,leaf=5)
     intpcf(eva)
      

