intpcf: Calculates the integral of a piecewise constant function

Description Usage Arguments Value Author(s) Examples

Description

Calculates the integral of a piecewise constant function.

Usage

1
intpcf(pcf)

Arguments

pcf

piecewise constant function

Value

Real number; the integral of the piecewise cosntant function

Author(s)

Jussi Klemela

Examples

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

delt documentation built on May 2, 2019, 3:42 p.m.