plotbranchmap: Plots a branching map

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/plotbranchmap.R View source: R/denpro.R

Description

Plots a branching map to the graphics window.

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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) 

  }

denpro documentation built on May 2, 2019, 8:55 a.m.