Learn R Programming

delt (version 0.8.2)

intpcf: 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

Examples

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

Run the code above in your browser using DataLab