modegraph: Calculates a mode graph from a scale of estimates

Description Usage Arguments Value Author(s) See Also Examples

View source: R/denpro.R View source: R/modegraph.R

Description

Calculates a mode graph from a scale of estimates. The estimates in the scale are given as level set trees.

Usage

1
modegraph(estiseq, hseq = NULL, paletti = NULL)

Arguments

estiseq

a scale of estimates, output for example of "lstseq.kern"

hseq

the corresponding scale of smoothing parameters

paletti

vector of color names

Value

mode graph

Author(s)

Jussi Klemela

See Also

lstseq.kern, plotmodet

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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)

mt<-modegraph(estiseq)

plotmodet(mt)

denpro documentation built on May 29, 2017, 11:06 p.m.

Search within the denpro package
Search all R packages, documentation and source code