plotmodet {denpro}R Documentation

Plots a mode graph

Description

Plots one window of a mode graph.

Usage

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

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)


[Package denpro version 0.9.0 Index]