draw.levset {denpro}R Documentation

Plots a level set of a 2D function

Description

Plots a level set of a piecewise constant 2D function.

Usage

draw.levset(pcf, lev=NULL, bary = NULL, propor=0.1)

Arguments

pcf piecewise constant function; output of "pcf.kern" or "pcf.func"
lev real number; gives the level of the level set
bary vector of 2 reals; the barycenter; if given will be plotted
propor 0<propor<1; the level set whose level is "propor" times the maximum value of the function will be drawn

Value

Makes a plot to the graphics window

Author(s)

Jussi Klemelä

See Also

pcf.kern, pcf.func

Examples

dendat<-sim.data(n=100,type="mulmod")
pcf<-pcf.kern(dendat,h=1,N=c(32,32))

draw.levset(pcf,lev=1.331979e-02)

draw.levset(pcf,propor=0.4)


[Package denpro version 0.8.1 Index]