"gtmod"
objectPlot, print and summarize methods for "gtmod"
objects, i.e., the results of the graphical tools for exploring the number of modes.
# 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, …)
An object inheriting from class "gtmod"
.
An object of class "gtmod"
for which a summary is desired.
Logical, if TRUE
the modetree
plot is added to the current one. Default is FALSE
.
A title for the x axis. See title
.
A title for the y axis. See title
.
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"
.
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")
.
Logical, if TRUE
the legend is displayed in the sizer
. Default TRUE
.
Position where the legend in the sizer
should be displayed. Default posLegend="topright"
.
Number of significant digits to use, see formatC
.
Logical, if TRUE
the bandwidths range for which the modes are estimated is showed. Default TRUE
.
The total field width in each showed number, see formatC
.
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.
modetree
, modeforest
and sizer
, also for examples.