intpcf {delt}R Documentation

Calculates the integral of a piecewise constant function

Description

Calculates the integral of a piecewise constant function.

Usage

intpcf(pcf)

Arguments

pcf piecewise constant function

Value

Real number; the integral of the piecewise cosntant function

Author(s)

Jussi Klemela

Examples

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

[Package delt version 0.8.0 Index]