Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/plotbranchmap.R View source: R/denpro.R
Plots a branching map to the graphics window.
1 | plotbranchmap(bm, phi = 55, theta = 30)
|
bm |
A branching map; output of function "branchmap". |
phi |
The phi-parameter of function "persp". |
theta |
The theta-parameter of function "persp". |
Function "plotbranchmap" just calls function "persp".
Makes a plot to the current graphics window.
Jussi Klemela
http://denstruct.net
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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.