plotmodet: Plots a mode graph

Description Usage Arguments Value Author(s) See Also Examples

View source: R/denpro.R View source: R/plotmodet.R

Description

Plots one window of a mode graph.

Usage

1
2
3
4
plotmodet(mt, coordi = 1, colot = NULL, shift = 0, xlim = NULL, 
xlab = "", ylab = "", horilines = NULL, symbo = 20, loga = NULL, 
lty = "dashed", cex.axis = 1, title = TRUE, cex.sub = 1, cex.lab = 1,
xaxt = "s", yaxt = "s")

Arguments

mt

mode graph; output of "modegraph"

coordi

integer 1,...,d

colot

colors

shift

real number; to shift the parent-child lines in the case of overlays

xlim

2-vector of reals, giving the interval of x-axis

xlab

labeling for the x-axis

ylab

labeling for y-axis

horilines

a vector of indexes; horizonta lines will be plotted

symbo

labeling for modes; "L" or "N"

loga

"y" or "n"; whether logarithmic y-axis will be used

lty

line type

cex.axis

magnification factor for the axis annotation; see "par"

title

TRUE or FALSE; makes a subtitle which shows the value of "coordi"

cex.sub

magnification factor for the subtitle; see "par"

cex.lab

magnification factor for the axis labels (names of x and y); see "par"

xaxt

a character which specifies the x axis type; either "s" or "n"; see "par"

yaxt

a character which specifies the y axis type; either "s" or "n"; see "par"

Value

Plots to the graphics device

Author(s)

Jussi Klemela

See Also

modegraph, lstseq.kern,

Examples

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

plotmodet(mt,coordi=2)

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