draw.levset {denpro} | R Documentation |
Plots a level set of a piecewise constant 2D function.
draw.levset(pcf, lev=NULL, bary = NULL, propor=0.1)
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 |
Makes a plot to the graphics window
Jussi Klemelä
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)