multimode (version 1.4)

plot.gtmod: Plot, print and summarize a "gtmod" object

Description

Plot, print and summarize methods for "gtmod" objects, i.e., the results of the graphical tools for exploring the number of modes.

Usage

# S3 method for gtmod
plot(x, addplot = FALSE, xlab = NULL, ylab = NULL,
col.lines = "black", col.sizer = NULL, addlegend = TRUE,
poslegend = "topright", …)

# S3 method for gtmod print(x,digits=getOption("digits"), …)

# S3 method for gtmod summary(object, bandwidths=TRUE, digits = getOption("digits"), width=1, levelmf=NULL, …)

Arguments

x

An object inheriting from class "gtmod".

object

An object of class "gtmod" for which a summary is desired.

addplot

Logical, if TRUE the modetree plot is added to the current one. Default is FALSE.

xlab

A title for the x axis. See title.

ylab

A title for the y axis. See title.

col.lines

Colors employed in the modetree. If the length is two, the first color is employed for representing the location of the modes and the second one for the splitting of the modes. Default is col.lines="black".

col.sizer

Colors employed in the sizer for indicating the behaviour of the smoothed curve. The first color indicates where it is significantly increasing, the second where it is not significantly different from zero, the third where it is significantly negative and the forth where the data are too sparse for meaningful inference. Default col.sizer=c("red","orchid","blue","grey").

addlegend

Logical, if TRUE the legend is displayed in the sizer. Default TRUE.

poslegend

Position where the legend in the sizer should be displayed. Default posLegend="topright".

digits

Number of significant digits to use, see formatC.

bandwidths

Logical, if TRUE the bandwidths range for which the modes are estimated is showed. Default TRUE.

width

The total field width in each showed number, see formatC.

levelmf

In the modeforest, just the pixels with a percentage (of times that an estimated mode falls on them) greater than this value will be considered. Default is levelmf=0.5.

Arguments to be passed to subsequent methods, plot.default (modetree) or image.default (modeforest and sizer) for the plot method and formatC for the print and the summary method.

See Also

modetree, modeforest and sizer, also for examples.