plotbranchmap {denpro}R Documentation

Plots a branching map

Description

Plots a branching map to the graphics window.

Usage

plotbranchmap(bm, phi = 55, theta = 30)

Arguments

bm A branching map; output of function "branchmap".
phi The phi-parameter of function "persp".
theta The theta-parameter of function "persp".

Details

Function "plotbranchmap" just calls function "persp".

Value

Makes a plot to the current graphics window.

Author(s)

Jussi Klemela

References

http://denstruct.net

See Also

branchmap

Examples

dendat<-sim.data(n=200,type="mulmod")

h1<-0.9
h2<-2.2
lkm<-5
hseq<-hgrid(h1,h2,lkm)

N<-c(16,16)
estiseq<-lstseq.kern(dendat,hseq,N,lstree=TRUE)

bm<-branchmap(estiseq)

plotbranchmap(bm)

## The function is currently defined as
function(bm,phi=55,theta=30)
{

persp(x=bm$level,y=bm$h,z=bm$z, 
xlab="level",ylab="h",zlab="excess mass",
ticktype="detailed",
col=bm$col,phi=phi,theta=theta) 

  }

[Package denpro version 0.9.0 Index]