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

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

[Package delt version 0.8.2 Index]