| Type: | Package |
| Title: | R Commander Plug-in for Data Visualization with 'ggplot2' |
| Version: | 0.2-7 |
| Depends: | R (≥ 3.5.0), grid, Rcmdr (≥ 2.6-0), ggplot2 (≥ 3.4.0) |
| Imports: | stats, methods, utils, grDevices, graphics, rlang, ggthemes (≥ 5.0.0), plyr (≥ 1.8.4), RColorBrewer (≥ 1.1-3), scales (≥ 1.3.0), survival (≥ 3.4-0.1), tcltk2 (≥ 1.2-11) |
| Suggests: | extrafont, knitr, rmarkdown |
| Description: | A GUI front-end for 'ggplot2' supports Kaplan-Meier plot, histogram, Q-Q plot, box plot, errorbar plot, scatter plot, line chart, pie chart, bar chart, contour plot, and distribution plot. |
| License: | GPL-2 |
| Collate: | 'RcmdrPlugin.KMggplot2-package.r' 'geom-stepribbon.r' 'guiparts-aaa.r' 'guiparts-checkboxes.r' 'guiparts-radioboxes.r' 'guiparts-textfield.r' 'guiparts-textfields.r' 'guiparts-toolbox.r' 'guiparts-variableboxes.r' 'data-aaa.r' 'plot-aaa.r' 'plot-factorise.r' 'plot-gcont.r' 'plot-gbox.r' 'plot-gdiscbar.r' 'plot-gdist.r' 'plot-gkm.r' 'plot-ghist.r' 'plot-gline.r' 'plot-gpie.r' 'plot-gqq.r' 'plot-gscat.r' 'plot-gscatmat.r' 'theme-natrisk.r' 'theme-natrisk21.r' 'theme-natriskbg.r' 'theme-simple.r' 'theme-wsj2.r' 'util-gettextKmg2.r' 'util-ggsaveKmg2.r' 'util-lastcom.r' 'util-nonFactors.r' 'zzz.r' |
| RoxygenNote: | 7.3.2 |
| Encoding: | UTF-8 |
| VignetteBuilder: | knitr |
| NeedsCompilation: | no |
| Packaged: | 2025-03-25 15:17:18 UTC; nshi1 |
| Author: | Kengo Nagashima |
| Maintainer: | Kengo Nagashima <nshi1201@gmail.com> |
| Repository: | CRAN |
| Date/Publication: | 2025-03-25 22:40:13 UTC |
R Commander Plug-in for Data Visualization with 'ggplot2'
Description
A GUI front-end for 'ggplot2' supports Kaplan-Meier plot, histogram, Q-Q plot, box plot, errorbar plot, scatter plot, line chart, pie chart, bar chart, contour plot, and distribution plot.
Author(s)
Maintainer: Kengo Nagashima nshi1201@gmail.com (ORCID)
See Also
Rcmdr,
ggplot2,
survfit,
RColorBrewer
ggthemes
scales
The back Method for gparts_base Class
Description
back method places GUI grids for R-Commander windows.
Usage
## S4 method for signature 'gparts_base'
back(perline = 3)
Arguments
perline |
Integer; controls the number of per-line to GUI grids. |
See Also
Other guiparts:
checkboxes-class,
front,checkboxes-method,
front,radioboxes-method,
front,textfield-method,
front,textfields-method,
front,toolbox-method,
front,variableboxes-method,
gparts_base-class,
radioboxes-class,
textfield-class,
textfields-class,
toolbox-class,
variableboxes-class
Check Errors
Description
checkError method checks errors.
Usage
## S4 method for signature 'plot_base'
checkError(parms)
Arguments
parms |
List of objects; graphics settings parameters. |
Value
- errorCode
Boolean; the error code.
See Also
Other plot:
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Check Themes
Description
checkTheme method checks a theme index.
Usage
## S4 method for signature 'plot_base'
checkTheme(index)
Arguments
index |
Character; a theme index. |
Value
- theme
Character; the theme name.
See Also
Other plot:
checkError,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Check Variable Length
Description
checkVariable method checks a variable length.
Usage
## S4 method for signature 'plot_base'
checkVariable(var)
Arguments
var |
Vector of Character; variable names. |
Value
- var
Character; the fixed variable name.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Check Boxes Subclass
Description
checkboxes class is a subclass for GUI check box frame.
Details
This class is a subclass which make GUI check box frame.
Fields
frame:tkwinclass object; parent of widget window.length:Integer; number of grids.
back_list:List of
tkwinclass object; list of grids.value:List of
tclVarclass object; values of the check box frame.cbcheckboxes:tkwinclass object; the check box frame.
Contains
gparts_base
Methods
back(perline = 3):backmethod forgparts_baseclass.front(top, initValues, labels, title = "", right.buttons = FALSE):frontmethod forcheckboxessubclass.
See Also
Other guiparts:
back,gparts_base-method,
front,checkboxes-method,
front,radioboxes-method,
front,textfield-method,
front,textfields-method,
front,toolbox-method,
front,variableboxes-method,
gparts_base-class,
radioboxes-class,
textfield-class,
textfields-class,
toolbox-class,
variableboxes-class
An Wrapper Function for Command Execution
Description
commandDoIt method gets the plot error message.
Usage
## S4 method for signature 'plot_base'
commandDoIt(command, log)
Arguments
command |
String; command codes. |
log |
Boolean; use |
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
A Dummy Data for Contour Plots
Description
A Dummy Data for Contour Plots
Format
A data frame with 10000 observations on the following 3 variables.
xa x-axis variable
ya y-axis variable
zdensity
See Also
contour-class
Examples
# This data is generated by the code below:
# set.seed(5435678)
# dataContour <- data.frame(
# x = (zx <- (rep(1:100, 100) - 5) / 2),
# y = (zy <- (rep(1:100, each=100) - 5) / 2),
# z = (z <- zx*zy)
# )
# save(dataContour, file = "dataContour.RData")
# try(data(dataContour, package = "RcmdrPlugin.KMggplot2"))
A Dummy Data for Survival Analysis
Description
A Dummy Data for Survival Analysis
Format
A data frame with 200 observations on the following 8 variables.
timetime from entry (months)
ageage
heightheight
weightweight
eventevent variable (0: censor, 1: event)
trttreatment group (has three groups "Group-A", "Group-B", and "Group-C")
markera biomarker level (has two groups "High", and "Low")
sexsex
See Also
km-class
Examples
# This data is generated by the code below:
# set.seed(5435678)
# age <- round(rnorm(200, 65, 10))
# height <- rep(c(170, 160), each = 50) + rnorm(200, 0, 6)
# weight <- rep(c(50, 45.5), each = 50) + 0.91 * (height - 152.4) + rnorm(200, 0, 7)
# event <- sample(c(0, 1), 200, rep = TRUE, prob = c(0.1, 0.9))
# trt <- factor(sample(c("Group-A", "Group-B", "Group-C"), 200, rep = TRUE))
# marker <- factor(sample(c("High", "Low"), 200, rep = TRUE, prob = c(0.3, 0.7)))
# sex <- factor(rep(c("M", "F"), each = 50))
# mu <- 10 + 0.1 * (age - 65) + as.numeric(sex) + as.numeric(marker) + 5 * (as.numeric(trt) - 2)
# time <- rgamma(200, mu, 1)
# time[time >= 20] <- 20
# event[time == 20] <- 0
# dataKm <- data.frame(time, age, height, weight, event, trt, marker, sex)
# save(dataKm, file = "dataKm.RData")
# try(data(dataKm, package = "RcmdrPlugin.KMggplot2"))
A Dummy Data for Line Charts
Description
A Dummy Data for Line Charts
Format
A data frame with 144 observations on the following 5 variables.
datedate
groupa measurement group (has three groups "T", "H", and "L")
markera biomarker level (has two groups "High", and "Low")
sexsex
ya measurement variable
See Also
line-class
Examples
# This data is generated by the code below:
# set.seed(5435678)
# date <- rep(seq(Sys.Date(), len = 12, by = "1 month"), each = 12)
# group <- rep(c("T", "H", "L"), 12, each = 4)
# marker <- factor(rep(c("High", "Low"), 36, each = 2))
# sex <- factor(rep(c("M", "F"), 72))
# mu <- rep(c(200, 50, 150), 12, each = 4) + 10 * as.numeric(sex) + 30 * as.numeric(marker)
# y <- rnorm(144, mu, 25)
# dataLine <- data.frame(date, group, marker, sex, y)
# save(dataLine, file = "dataLine.RData")
# try(data(dataLine, package = "RcmdrPlugin.KMggplot2"))
Factorize Subclass
Description
factorize class is a subclass for factorizing numeric variables.
Details
This class is a subclass which show dialog boxes of a factorizer for graphics editing.
Fields
top:tkwinclass object; parent of widget window.alternateFrame:tkwinclass object; a special frame for some GUI parts.vbbox1:variableboxesclass object; the frame to select variables.rbbox1:radioboxesclass object; the frame to set options.
Contains
NULL
Methods
plotWindow():Create the window that make plots.
savePlot(plot):Save the plot.
registRmlist(object):Register deletable temporary objects.
removeRmlist():Remove registered temporary objects.
setFront():Set front parts of frames.
setBack():Set back parts of frames.
getWindowTitle():Get the title of the window.
getHelp():Get the title of the help document.
getParms():Get graphics settings parameters.
checkTheme(index):Check themes.
checkVariable(var):Check a variable length.
checkError(parms):Check errors.
setDataframe(parms):Set data frames.
getGgplot(parms):Get
ggplot.getGeom(parms):Get
geom.getScale(parms):Get
scale.getCoord(parms):Get
coord.getFacet(parms):Get
facet.getXlab(parms):Get
xlab.getYlab(parms):Get
ylab.getZlab(parms):Get
zlab.getMain(parms):Get the main label.
getTheme(parms):Get
theme.getOpts(parms):Get other
opts.getPlot(parms):Get the plot object.
getMessage():Get the plot error message.
commandDoIt(command):An wrapper function for command execution.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
The front Method for checkboxes Subclass
Description
The front Method for checkboxes Subclass
Usage
## S4 method for signature 'checkboxes'
front(top, initValues, labels, title = "", right.buttons = FALSE)
Arguments
top |
|
initValues |
List of integer; initialization values of check boxes. |
labels |
List of character; values of check boxes labels. |
title |
Character; the title of the check box frame. |
right.buttons |
Boolean; whether check boxes are right aligned or not. |
See Also
Other guiparts:
back,gparts_base-method,
checkboxes-class,
front,radioboxes-method,
front,textfield-method,
front,textfields-method,
front,toolbox-method,
front,variableboxes-method,
gparts_base-class,
radioboxes-class,
textfield-class,
textfields-class,
toolbox-class,
variableboxes-class
The front Method for radioboxes Subclass
Description
The front Method for radioboxes Subclass
Usage
## S4 method for signature 'radioboxes'
front(top, labels, title = "", initValue = 1, right.buttons = FALSE)
Arguments
top |
|
labels |
List of character; values of radio boxes labels. |
title |
Character; the title of the radio box frame. |
initValue |
Integer; the initialization value of the radio box frame. |
right.buttons |
Boolean; whether radio boxes are right aligned or not. |
See Also
Other guiparts:
back,gparts_base-method,
checkboxes-class,
front,checkboxes-method,
front,textfield-method,
front,textfields-method,
front,toolbox-method,
front,variableboxes-method,
gparts_base-class,
radioboxes-class,
textfield-class,
textfields-class,
toolbox-class,
variableboxes-class
The front Method for textfield Subclass
Description
The front Method for textfield Subclass
Usage
## S4 method for signature 'textfield'
front(top, initialValue, boxwidth, title)
Arguments
top |
|
initialValue |
Character; initialization values of the text field frame. |
boxwidth |
Integer; the size of the text field frame. |
title |
Character; the title of the text field frame. |
See Also
Other guiparts:
back,gparts_base-method,
checkboxes-class,
front,checkboxes-method,
front,radioboxes-method,
front,textfields-method,
front,toolbox-method,
front,variableboxes-method,
gparts_base-class,
radioboxes-class,
textfield-class,
textfields-class,
toolbox-class,
variableboxes-class
The front Method for textfields Subclass
Description
The front Method for textfields Subclass
Usage
## S4 method for signature 'textfields'
front(top, initValues, titles, boxwidth = "20")
Arguments
top |
|
initValues |
List of character; initialization values of text fields. |
titles |
List of character; titles of text fields. |
boxwidth |
Character; size of text fields. |
See Also
Other guiparts:
back,gparts_base-method,
checkboxes-class,
front,checkboxes-method,
front,radioboxes-method,
front,textfield-method,
front,toolbox-method,
front,variableboxes-method,
gparts_base-class,
radioboxes-class,
textfield-class,
textfields-class,
toolbox-class,
variableboxes-class
The front Method for toolbox Subclass
Description
The front Method for toolbox Subclass
Usage
## S4 method for signature 'toolbox'
front(top,
showcolourbox = TRUE,
fontSize = unlist(options("kmg2FontSize")),
fontSize = unlist(options("kmg2FontSize")),
fontFamily = unlist(options("kmg2FontFamily")),
colourSet = unlist(options("kmg2ColourSet")),
saveGraph = unlist(options("kmg2SaveGraph")),
themeBase = unlist(options("kmg2Theme"))
)
Arguments
top |
|
showcolourbox |
Boolean; whether the colour set frame is shown or not. |
fontSize |
Character; the initialization value of the font size. |
fontFamily |
Numeric; the initialization value of the font family. |
colourSet |
Numeric; the initialization value of the colour set. |
saveGraph |
Numeric; the initialization value of the save graph option. |
themeBase |
Numeric; the initialization value of the theme. |
See Also
Other guiparts:
back,gparts_base-method,
checkboxes-class,
front,checkboxes-method,
front,radioboxes-method,
front,textfield-method,
front,textfields-method,
front,variableboxes-method,
gparts_base-class,
radioboxes-class,
textfield-class,
textfields-class,
toolbox-class,
variableboxes-class
The front Method for variableboxes Subclass
Description
The front Method for variableboxes Subclass
Usage
## S4 method for signature 'variableboxes'
front(top, types, titles, modes = "default")
Arguments
top |
|
types |
List of character; types of variableLists. |
titles |
List of character; titles of variable box frame. |
modes |
List of character; select modes. |
See Also
Other guiparts:
back,gparts_base-method,
checkboxes-class,
front,checkboxes-method,
front,radioboxes-method,
front,textfield-method,
front,textfields-method,
front,toolbox-method,
gparts_base-class,
radioboxes-class,
textfield-class,
textfields-class,
toolbox-class,
variableboxes-class
Box Plot Subclass
Description
gbox class is a subclass for box plots.
Details
This class is a subclass which show dialog boxes of box plots for graphics editing.
Fields
top:tkwinclass object; parent of widget window.alternateFrame:tkwinclass object; a special frame for some GUI parts.vbbox1:variableboxesclass object; the frame to select variables.vbbox2:variableboxesclass object; the frame to select facet variables.lbbox1:textfieldsclass object; the frame to set axis labels and the main title.rbbox1:radioboxesclass object; the frame to set the plot type.cbbox1:checkboxesclass object; the frame to set options.tbbox1:toolboxclass object; the frame to set the font, the colour set, other option, and the theme.
Contains
NULL
Methods
plotWindow():Create the window that make plots.
savePlot(plot):Save the plot.
registRmlist(object):Register deletable temporary objects.
removeRmlist():Remove registered temporary objects.
setFront():Set front parts of frames.
setBack():Set back parts of frames.
getWindowTitle():Get the title of the window.
getHelp():Get the title of the help document.
getParms():Get graphics settings parameters.
checkTheme(index):Check themes.
checkVariable(var):Check a variable length.
checkError(parms):Check errors.
setDataframe(parms):Set data frames.
getGgplot(parms):Get
ggplot.getGeom(parms):Get
geom.getScale(parms):Get
scale.getCoord(parms):Get
coord.getFacet(parms):Get
facet.getXlab(parms):Get
xlab.getYlab(parms):Get
ylab.getZlab(parms):Get
zlab.getMain(parms):Get the main label.
getTheme(parms):Get
theme.getOpts(parms):Get other
opts.getPlot(parms):Get the plot object.
getMessage():Get the plot error message.
commandDoIt(command):An wrapper function for command execution.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Contour Plot Subclass
Description
gcont class is a subclass for contour plots.
Details
This class is a subclass which show dialog boxes of contour plots for graphics editing.
Fields
top:tkwinclass object; parent of widget window.alternateFrame:tkwinclass object; a special frame for some GUI parts.vbbox1:variableboxesclass object; the frame to select variables.vbbox2:variableboxesclass object; the frame to select facet variables.lbbox1:textfieldsclass object; the frame to set axis labels, the legend label, and the main title.rbbox1:radioboxesclass object; the frame to set the decoration type.tbbox1:toolboxclass object; the frame to set the font, the colour set, other option, and the theme.
Contains
NULL
Methods
plotWindow():Create the window that make plots.
savePlot(plot):Save the plot.
registRmlist(object):Register deletable temporary objects.
removeRmlist():Remove registered temporary objects.
setFront():Set front parts of frames.
setBack():Set back parts of frames.
getWindowTitle():Get the title of the window.
getHelp():Get the title of the help document.
getParms():Get graphics settings parameters.
checkTheme(index):Check themes.
checkVariable(var):Check a variable length.
checkError(parms):Check errors.
setDataframe(parms):Set data frames.
getGgplot(parms):Get
ggplot.getGeom(parms):Get
geom.getScale(parms):Get
scale.getCoord(parms):Get
coord.getFacet(parms):Get
facet.getXlab(parms):Get
xlab.getYlab(parms):Get
ylab.getZlab(parms):Get
zlab.getMain(parms):Get the main label.
getTheme(parms):Get
theme.getOpts(parms):Get other
opts.getPlot(parms):Get the plot object.
getMessage():Get the plot error message.
commandDoIt(command):An wrapper function for command execution.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Discrete Bar Charts Subclass
Description
gdiscbar class is a subclass for discrete bar charts.
Details
This class is a subclass which show dialog boxes of discrete bar charts for graphics editing.
Fields
top:tkwinclass object; parent of widget window.alternateFrame:tkwinclass object; a special frame for some GUI parts.vbbox1:variableboxesclass object; the frame to select variables.vbbox2:variableboxesclass object; the frame to select facet variables.lbbox1:textfieldsclass object; the frame to set axis labels and the main title.rbbox1:radioboxesclass object; the frame to set the axis scaling.tbbox1:toolboxclass object; the frame to set the font, the colour set, other option, and the theme.
Contains
NULL
Methods
plotWindow():Create the window that make plots.
savePlot(plot):Save the plot.
registRmlist(object):Register deletable temporary objects.
removeRmlist():Remove registered temporary objects.
setFront():Set front parts of frames.
setBack():Set back parts of frames.
getWindowTitle():Get the title of the window.
getHelp():Get the title of the help document.
getParms():Get graphics settings parameters.
checkTheme(index):Check themes.
checkVariable(var):Check a variable length.
checkError(parms):Check errors.
setDataframe(parms):Set data frames.
getGgplot(parms):Get
ggplot.getGeom(parms):Get
geom.getScale(parms):Get
scale.getCoord(parms):Get
coord.getFacet(parms):Get
facet.getXlab(parms):Get
xlab.getYlab(parms):Get
ylab.getZlab(parms):Get
zlab.getMain(parms):Get the main label.
getTheme(parms):Get
theme.getOpts(parms):Get other
opts.getPlot(parms):Get the plot object.
getMessage():Get the plot error message.
commandDoIt(command):An wrapper function for command execution.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Distribution Plot Subclass
Description
gdist class is a subclass for distribution plots.
Details
This class is a subclass which show dialog boxes of distribution plots for graphics editing.
Fields
top:tkwinclass object; parent of widget window.alternateFrame:tkwinclass object; a special frame for some GUI parts.lbbox1:textfieldsclass object; the frame to set distribution parameters.lbbox2:textfieldsclass object; the frame to set axis labels, the legend label, and the main title.rbbox1:radioboxesclass object; the frame to set the function type.tbbox1:toolboxclass object; the frame to set the font, the colour set, other option, and the theme.windowTitle:Character; the window title.
distType:Character; the distribution type ("discrete" or "continuous").
distName:Character; the distribution name.
parmNames:List of Characters; names of distribution parameters.
parmInits:List of Characters; initial values of distribution parameters.
Contains
NULL
Methods
plotWindow():Create the window that make plots.
savePlot(plot):Save the plot.
registRmlist(object):Register deletable temporary objects.
removeRmlist():Remove registered temporary objects.
setFront():Set front parts of frames.
setBack():Set back parts of frames.
getWindowTitle():Get the title of the window.
getHelp():Get the title of the help document.
getParms():Get graphics settings parameters.
checkTheme(index):Check themes.
checkVariable(var):Check a variable length.
checkError(parms):Check errors.
setDataframe(parms):Set data frames.
getGgplot(parms):Get
ggplot.getGeom(parms):Get
geom.getScale(parms):Get
scale.getCoord(parms):Get
coord.getFacet(parms):Get
facet.getXlab(parms):Get
xlab.getYlab(parms):Get
ylab.getZlab(parms):Get
zlab.getMain(parms):Get the main label.
getTheme(parms):Get
theme.getOpts(parms):Get other
opts.getPlot(parms):Get the plot object.
getMessage():Get the plot error message.
commandDoIt(command):An wrapper function for command execution.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Step ribbon plots.
Description
geom_stepribbon is an extension of the geom_ribbon, and
is optimized for Kaplan-Meier plots with pointwise confidence intervals
or a confidence band.
Usage
geom_stepribbon(
mapping = NULL,
data = NULL,
stat = "identity",
position = "identity",
na.rm = FALSE,
orientation = NA,
show.legend = NA,
inherit.aes = TRUE,
outline.type = "both",
kmplot = FALSE,
...
)
Arguments
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. |
stat |
The statistical transformation to use on the data for this layer. |
position |
A position adjustment to use on the data for this layer. |
na.rm |
If FALSE, the default, missing values are removed with a warning. If TRUE, missing values are silently removed. |
orientation |
The orientation of the layer. |
show.legend |
logical. Should this layer be included in the legends? NA, the default, includes if any aesthetics are mapped. FALSE never includes, and TRUE always includes. It can also be a named logical vector to finely select the aesthetics to display. |
inherit.aes |
If FALSE, overrides the default aesthetics, rather than
combining with them. This is most useful for helper functions that define
both data and aesthetics and shouldn't inherit behaviour from the default
plot specification, e.g. |
outline.type |
Type of the outline of the area; "both" draws both the upper and lower lines, "upper"/"lower" draws the respective lines only. "full" draws a closed polygon around the area. |
kmplot |
If |
... |
Other arguments passed on to layer()'s params argument. |
Aesthetics
geom_stepribbon() understands the following aesthetics. Required
aesthetics are displayed in bold and defaults are displayed for optional
aesthetics:
| • | x or y |
| • | ymin or xmin |
| • | ymax or xmax |
| • | alpha |
| • | colour |
| • | fill |
| • | group |
| • | linetype |
| • | linewidth |
See Also
geom_ribbon geom_stepribbon
inherits from geom_ribbon.
Examples
huron <- data.frame(year = 1875:1972, level = as.vector(LakeHuron))
h <- ggplot(huron, aes(year))
h + geom_stepribbon(aes(ymin = level - 1, ymax = level + 1), fill = "grey70") +
geom_step(aes(y = level))
h + geom_ribbon(aes(ymin = level - 1, ymax = level + 1), fill = "grey70") +
geom_line(aes(y = level))
Get coord
Description
getCoord method gets coord.
Usage
## S4 method for signature 'plot_base'
getCoord(parms)
Arguments
parms |
List of objects; graphics settings parameters. |
Value
- coord
Character; a code snippet for coords.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Get facet
Description
getFacet method gets facet.
Usage
## S4 method for signature 'plot_base'
getFacet(parms)
Arguments
parms |
List of objects; graphics settings parameters. |
Value
- facet
Character; a code snippet for the facet.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Get geom
Description
getGeom method gets geom.
Usage
## S4 method for signature 'plot_base'
getGeom(parms)
Arguments
parms |
List of objects; graphics settings parameters. |
Value
- geom
Character; a code snippet for geometric objects.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Get ggplot
Description
getGgplot method gets ggplot.
Usage
## S4 method for signature 'plot_base'
getGgplot(parms)
Arguments
parms |
List of objects; graphics settings parameters. |
Value
- ggplot
Character; a code snippet for ggplot functions.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Get Help
Description
getHelp method gets the title of the help document.
Usage
## S4 method for signature 'plot_base'
getHelp()
Value
- help
Character; the title of the help document.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Get Main Label
Description
getMain method gets the main label (graph title).
Usage
## S4 method for signature 'plot_base'
getMain(parms)
Arguments
parms |
List of objects; graphics settings parameters. |
Value
- main
Character; a code snippet for the main label.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Get Plot Error Message
Description
getMessage method gets the plot error message.
Usage
## S4 method for signature 'plot_base'
getMessage()
Value
- message
Character; the plot error message.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Get Other opts
Description
getOpts method gets other graph options.
Usage
## S4 method for signature 'plot_base'
getOpts(parms)
Arguments
parms |
List of objects; graphics settings parameters. |
Value
- opts
Character; a code snippet for other graph options.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Get Graphics Parameters
Description
getParms method gets graphics settings parameters.
Usage
## S4 method for signature 'plot_base'
getParms()
Value
- parms
List of objects; graphics settings parameters.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Get Plot
Description
getPlot method gets the plot object.
Usage
## S4 method for signature 'plot_base'
getPlot(parms)
Arguments
parms |
List of objects; graphics settings parameters. |
Value
- plot
ggplot2class object; the plot.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Get scale
Description
getScale method gets scale.
Usage
## S4 method for signature 'plot_base'
getScale(parms)
Arguments
parms |
List of objects; graphics settings parameters. |
Value
- scale
Character; a code snippet for scales.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Get theme
Description
getTheme method gets the graph theme.
Usage
## S4 method for signature 'plot_base'
getTheme(parms)
Arguments
parms |
List of objects; graphics settings parameters. |
Value
- theme
Character; a code snippet for the
theme.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Get Title
Description
getWindowTitle method gets the title of the window.
Usage
## S4 method for signature 'plot_base'
getWindowTitle()
Value
- title
Character; the title of the window.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Get xlab
Description
getXlab method gets the x-axis label.
Usage
## S4 method for signature 'plot_base'
getXlab(parms)
Arguments
parms |
List of objects; graphics settings parameters. |
Value
- xlab
Character; a code snippet for the x-axis label.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Get ylab
Description
getYlab method gets the y-axis label.
Usage
## S4 method for signature 'plot_base'
getYlab(parms)
Arguments
parms |
List of objects; graphics settings parameters. |
Value
- ylab
Character; a code snippet for the y-axis label.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Get zlab
Description
getZlab method gets the label of the stratum.
Usage
## S4 method for signature 'plot_base'
getZlab(parms)
Arguments
parms |
List of objects; graphics settings parameters. |
Value
- zlab
Character; a code snippet for the label of the stratum.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
A gettextRcmdr Wrapper Function
Description
This function is a gettextRcmdr wrapper function for this package.
Usage
gettextKmg2(...)
Arguments
... |
arguments passed to gettext function |
See Also
A Modified Function of ggsave for recordedplot Class Objects
Description
This is a modified function of ggsave for recordedplot class
objects.
Usage
ggsaveKmg2(
filename = default_name(plot),
plot = last_plot(),
device = default_device(filename),
path = NULL,
scale = 1,
width = par("din")[1],
height = par("din")[2],
units = c("in", "cm", "mm"),
dpi = 300,
...
)
Arguments
filename |
file name/filename of plot |
plot |
plot to save, defaults to last plot displayed |
device |
device to use, automatically extract from file name extension |
path |
path to save plot to (if you just want to set path and not filename) |
scale |
scaling factor |
width |
width (defaults to the width of current plotting window) |
height |
height (defaults to the height of current plotting window) |
units |
units for width and height when either one is explicitly specified (in, cm, or mm) |
dpi |
dpi to use for raster graphics |
... |
other arguments passed to graphics device |
See Also
Histogram Subclass
Description
ghist class is a subclass for histograms.
Details
This class is a subclass which show dialog boxes of histograms for graphics editing.
Fields
top:tkwinclass object; parent of widget window.alternateFrame:tkwinclass object; a special frame for some GUI parts.vbbox1:variableboxesclass object; the frame to select variables.vbbox2:variableboxesclass object; the frame to select facet variables.vbbox3:variableboxesclass object; the frame to set the no. of bins.lbbox1:textfieldsclass object; the frame to set axis labels and the main title.rbbox1:radioboxesclass object; the frame to set the axis scaling.cbbox1:checkboxesclass object; the frame to set options.tbbox1:toolboxclass object; the frame to set the font, the colour set, other option, and the theme.
Contains
NULL
Methods
plotWindow():Create the window that make plots.
savePlot(plot):Save the plot.
registRmlist(object):Register deletable temporary objects.
removeRmlist():Remove registered temporary objects.
setFront():Set front parts of frames.
setBack():Set back parts of frames.
getWindowTitle():Get the title of the window.
getHelp():Get the title of the help document.
getParms():Get graphics settings parameters.
checkTheme(index):Check themes.
checkVariable(var):Check a variable length.
checkError(parms):Check errors.
setDataframe(parms):Set data frames.
getGgplot(parms):Get
ggplot.getGeom(parms):Get
geom.getScale(parms):Get
scale.getCoord(parms):Get
coord.getFacet(parms):Get
facet.getXlab(parms):Get
xlab.getYlab(parms):Get
ylab.getZlab(parms):Get
zlab.getMain(parms):Get the main label.
getTheme(parms):Get
theme.getOpts(parms):Get other
opts.getPlot(parms):Get the plot object.
getMessage():Get the plot error message.
commandDoIt(command):An wrapper function for command execution.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Kaplan-Meier Plot Subclass
Description
gkm class is a subclass for Kaplan-Meier plots.
Details
This class is a subclass which show dialog boxes of Kaplan-Meier plots for graphics editing.
Fields
top:tkwinclass object; parent of widget window.alternateFrame:tkwinclass object; a special frame for some GUI parts.vbbox1:variableboxesclass object; the frame to select variables.vbbox2:variableboxesclass object; the frame to select facet variables.lbbox1:textfieldsclass object; the frame to set axis labels, the legend label, and the main title.lbbox2:textfieldsclass object; the frame to set the tick count.rbbox1:radioboxesclass object; the frame to set the plot type.cbbox1:checkboxesclass object; the frame to set option(s).tbbox1:toolboxclass object; the frame to set the font, the colour set, other option, and the theme.
Contains
NULL
Methods
plotWindow():Create the window that make plots.
savePlot(plot):Save the plot.
registRmlist(object):Register deletable temporary objects.
removeRmlist():Remove registered temporary objects.
setFront():Set front parts of frames.
setBack():Set back parts of frames.
getWindowTitle():Get the title of the window.
getHelp():Get the title of the help document.
getParms():Get graphics settings parameters.
checkTheme(index):Check themes.
checkVariable(var):Check a variable length.
checkError(parms):Check errors.
setDataframe(parms):Set data frames.
getGgplot(parms):Get
ggplot.getGeom(parms):Get
geom.getScale(parms):Get
scale.getCoord(parms):Get
coord.getFacet(parms):Get
facet.getXlab(parms):Get
xlab.getYlab(parms):Get
ylab.getZlab(parms):Get
zlab.getMain(parms):Get the main label.
getTheme(parms):Get
theme.getOpts(parms):Get other
opts.getPlot(parms):Get the plot object.
getMessage():Get the plot error message.
commandDoIt(command):An wrapper function for command execution.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Line Chart Subclass
Description
gline class is a subclass for line charts.
Details
This class is a subclass which show dialog boxes of line charts for graphics editing.
Fields
top:tkwinclass object; parent of widget window.alternateFrame:tkwinclass object; a special frame for some GUI parts.vbbox1:variableboxesclass object; the frame to select variables.vbbox2:variableboxesclass object; the frame to select facet variables.lbbox1:textfieldsclass object; the frame to set axis labels, the legend label, and the main title.rbbox1:radioboxesclass object; the frame to set the plot type.rbbox2:radioboxesclass object; the frame to set the summary type.rbbox3:radioboxesclass object; the frame to set the scale type.tbbox1:toolboxclass object; the frame to set the font, the colour set, other option, and the theme.
Contains
NULL
Methods
plotWindow():Create the window that make plots.
savePlot(plot):Save the plot.
registRmlist(object):Register deletable temporary objects.
removeRmlist():Remove registered temporary objects.
setFront():Set front parts of frames.
setBack():Set back parts of frames.
getWindowTitle():Get the title of the window.
getHelp():Get the title of the help document.
getParms():Get graphics settings parameters.
checkTheme(index):Check themes.
checkVariable(var):Check a variable length.
checkError(parms):Check errors.
setDataframe(parms):Set data frames.
getGgplot(parms):Get
ggplot.getGeom(parms):Get
geom.getScale(parms):Get
scale.getCoord(parms):Get
coord.getFacet(parms):Get
facet.getXlab(parms):Get
xlab.getYlab(parms):Get
ylab.getZlab(parms):Get
zlab.getMain(parms):Get the main label.
getTheme(parms):Get
theme.getOpts(parms):Get other
opts.getPlot(parms):Get the plot object.
getMessage():Get the plot error message.
commandDoIt(command):An wrapper function for command execution.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Base Class for GUI Frames
Description
gparts_base class is the base class for GUI frames.
Details
This class is a framework for implementing subclasses which make GUI frames.
Fields
frame:tkwinclass object; parent of widget window.length:Integer; number of grids.
back_list:List of
tkwinclass object; list of grids.
Contains
NULL
Methods
back(perline = 3):backmethod forgparts_baseclass.
See Also
Other guiparts:
back,gparts_base-method,
checkboxes-class,
front,checkboxes-method,
front,radioboxes-method,
front,textfield-method,
front,textfields-method,
front,toolbox-method,
front,variableboxes-method,
radioboxes-class,
textfield-class,
textfields-class,
toolbox-class,
variableboxes-class
Pie Charts Subclass
Description
gpie class is a subclass for pie charts.
Details
This class is a subclass which show dialog boxes of pie charts for graphics editing.
Fields
top:tkwinclass object; parent of widget window.alternateFrame:tkwinclass object; a special frame for some GUI parts.vbbox1:variableboxesclass object; the frame to select variables.vbbox2:variableboxesclass object; the frame to select facet variables.lbbox1:textfieldsclass object; the frame to set axis labels and the main title.tbbox1:toolboxclass object; the frame to set the font, the colour set, other option, and the theme.
Contains
NULL
Methods
plotWindow():Create the window that make plots.
savePlot(plot):Save the plot.
registRmlist(object):Register deletable temporary objects.
removeRmlist():Remove registered temporary objects.
setFront():Set front parts of frames.
setBack():Set back parts of frames.
getWindowTitle():Get the title of the window.
getHelp():Get the title of the help document.
getParms():Get graphics settings parameters.
checkTheme(index):Check themes.
checkVariable(var):Check a variable length.
checkError(parms):Check errors.
setDataframe(parms):Set data frames.
getGgplot(parms):Get
ggplot.getGeom(parms):Get
geom.getScale(parms):Get
scale.getCoord(parms):Get
coord.getFacet(parms):Get
facet.getXlab(parms):Get
xlab.getYlab(parms):Get
ylab.getZlab(parms):Get
zlab.getMain(parms):Get the main label.
getTheme(parms):Get
theme.getOpts(parms):Get other
opts.getPlot(parms):Get the plot object.
getMessage():Get the plot error message.
commandDoIt(command):An wrapper function for command execution.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Q-Q Plot Subclass
Description
gqq class is a subclass for Q-Q plots.
Details
This class is a subclass which show dialog boxes of Q-Q plots for graphics editing.
Fields
top:tkwinclass object; parent of widget window.alternateFrame:tkwinclass object; a special frame for some GUI parts.vbbox1:variableboxesclass object; the frame to select variables.lbbox1:textfieldsclass object; the frame to set axis labels, the legend label, and the main title.lbbox2:textfieldsclass object; the frame to set other theoretical distribution.rbbox1:radioboxesclass object; the frame to set the theoretical distribution.tbbox1:toolboxclass object; the frame to set the font, the colour set, other option, and the theme.
Contains
NULL
Methods
plotWindow():Create the window that make plots.
savePlot(plot):Save the plot.
registRmlist(object):Register deletable temporary objects.
removeRmlist():Remove registered temporary objects.
setFront():Set front parts of frames.
setBack():Set back parts of frames.
getWindowTitle():Get the title of the window.
getHelp():Get the title of the help document.
getParms():Get graphics settings parameters.
checkTheme(index):Check themes.
checkVariable(var):Check a variable length.
checkError(parms):Check errors.
setDataframe(parms):Set data frames.
getGgplot(parms):Get
ggplot.getGeom(parms):Get
geom.getScale(parms):Get
scale.getCoord(parms):Get
coord.getFacet(parms):Get
facet.getXlab(parms):Get
xlab.getYlab(parms):Get
ylab.getZlab(parms):Get
zlab.getMain(parms):Get the main label.
getTheme(parms):Get
theme.getOpts(parms):Get other
opts.getPlot(parms):Get the plot object.
getMessage():Get the plot error message.
commandDoIt(command):An wrapper function for command execution.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Scatter Plot Subclass
Description
gscat class is a subclass for scatter plots.
Details
This class is a subclass which show dialog boxes of scatter plots for graphics editing.
Fields
top:tkwinclass object; parent of widget window.alternateFrame:tkwinclass object; a special frame for some GUI parts.vbbox1:variableboxesclass object; the frame to select variables.vbbox2:variableboxesclass object; the frame to select facet variables.lbbox1:textfieldsclass object; the frame to set axis labels, the legend label, and the main title.rbbox1:radioboxesclass object; the frame to set the smoothing type.tbbox1:toolboxclass object; the frame to set the font, the colour set, other option, and the theme.
Contains
NULL
Methods
plotWindow():Create the window that make plots.
savePlot(plot):Save the plot.
registRmlist(object):Register deletable temporary objects.
removeRmlist():Remove registered temporary objects.
setFront():Set front parts of frames.
setBack():Set back parts of frames.
getWindowTitle():Get the title of the window.
getHelp():Get the title of the help document.
getParms():Get graphics settings parameters.
checkTheme(index):Check themes.
checkVariable(var):Check a variable length.
checkError(parms):Check errors.
setDataframe(parms):Set data frames.
getGgplot(parms):Get
ggplot.getGeom(parms):Get
geom.getScale(parms):Get
scale.getCoord(parms):Get
coord.getFacet(parms):Get
facet.getXlab(parms):Get
xlab.getYlab(parms):Get
ylab.getZlab(parms):Get
zlab.getMain(parms):Get the main label.
getTheme(parms):Get
theme.getOpts(parms):Get other
opts.getPlot(parms):Get the plot object.
getMessage():Get the plot error message.
commandDoIt(command):An wrapper function for command execution.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Scatter Plot Matrix Subclass
Description
gscatmat class is a subclass for a scatter plot matrix.
Details
This class is a subclass which show dialog boxes of a scatter plot matrix for graphics editing.
Fields
top:tkwinclass object; parent of widget window.alternateFrame:tkwinclass object; a special frame for some GUI parts.vbbox1:variableboxesclass object; the frame to select variables.lbbox1:textfieldsclass object; the frame to set the main title.rbbox1:radioboxesclass object; the frame to set the smoothing type.tbbox1:toolboxclass object; the frame to set the font, the colour set, other option, and the theme.
Contains
NULL
Methods
plotWindow():Create the window that make plots.
savePlot(plot):Save the plot.
registRmlist(object):Register deletable temporary objects.
removeRmlist():Remove registered temporary objects.
setFront():Set front parts of frames.
setBack():Set back parts of frames.
getWindowTitle():Get the title of the window.
getHelp():Get the title of the help document.
getParms():Get graphics settings parameters.
checkTheme(index):Check themes.
checkVariable(var):Check a variable length.
checkError(parms):Check errors.
setDataframe(parms):Set data frames.
getGgplot(parms):Get
ggplot.getGeom(parms):Get
geom.getScale(parms):Get
scale.getCoord(parms):Get
coord.getFacet(parms):Get
facet.getXlab(parms):Get
xlab.getYlab(parms):Get
ylab.getZlab(parms):Get
zlab.getMain(parms):Get the main label.
getTheme(parms):Get
theme.getOpts(parms):Get other
opts.getPlot(parms):Get the plot object.
getMessage():Get the plot error message.
commandDoIt(command):An wrapper function for command execution.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Listing the last command
Description
This function lists the last command is executed by RcmdrPlugin.KMggplot2
Usage
lastcom()
Select Non Factor Variables
Description
This is a function to select non-factor variables for the Rcmdr package.
Usage
nonFactors()
See Also
Check Non Factor Variables in The Active Dataset
Description
This is a function to check the active dataset has more than or equal to n non-factor variables.
Usage
nonFactorsP(n = 1)
Arguments
n |
Numeric: the target number of |
Value
- result
Boolean; the active dataset has or does not have more than or equal to
nnon-factor variables.
See Also
Create Plot Window
Description
plotWindow method creates the window that make plots.
Usage
## S4 method for signature 'plot_base'
plotWindow()
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Base Class for Plot Windows
Description
plot_base class is the base class for plot windows.
Details
This class is a framework for implementing subclasses which show dialog boxes for graphics editing.
Fields
top:tkwinclass object; parent of widget window.alternateFrame:tkwinclass object; a special frame for some GUI parts.rmlist:List of character; deletable temporary objects.
mode:numeric; the executive mode (0 = justDoIt, 1 = doItAndPrint).
Contains
NULL
Methods
plotWindow():Create the window that make plots.
savePlot(plot):Save the plot.
registRmlist(object):Register deletable temporary objects.
removeRmlist():Remove registered temporary objects.
setFront():Set front parts of frames.
setBack():Set back parts of frames.
getWindowTitle():Get the title of the window.
getHelp():Get the title of the help document.
getParms():Get graphics settings parameters.
checkTheme(index):Check themes.
checkVariable(var):Check a variable length.
checkError(parms):Check errors.
setDataframe(parms):Set data frames.
getGgplot(parms):Get
ggplot.getGeom(parms):Get
geom.getScale(parms):Get
scale.getCoord(parms):Get
coord.getFacet(parms):Get
facet.getXlab(parms):Get
xlab.getYlab(parms):Get
ylab.getZlab(parms):Get
zlab.getMain(parms):Get the main label.
getTheme(parms):Get
theme.getOpts(parms):Get other
opts.getPlot(parms):Get the plot object.
getMessage():Get the plot error message.
commandDoIt(command):An wrapper function for command execution.
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Radio Boxes Subclass
Description
radioboxes class is a subclass for GUI radio box frame.
Details
This class is a subclass which make GUI radio box frame.
Fields
frame:tkwinclass object; parent of widget window.length:Integer; number of grids.
back_list:List of
tkwinclass object; list of grids.value:tclVarclass object; the value of the radio box frame.rbradioboxes:tkwinclass object; the radio box frame.
Contains
gparts_base
Methods
back(perline = 3):backmethod forgparts_baseclass.front(top, labels, title = "", initValue = 1, right.buttons = FALSE):frontmethod forradioboxessubclass.
See Also
Other guiparts:
back,gparts_base-method,
checkboxes-class,
front,checkboxes-method,
front,radioboxes-method,
front,textfield-method,
front,textfields-method,
front,toolbox-method,
front,variableboxes-method,
gparts_base-class,
textfield-class,
textfields-class,
toolbox-class,
variableboxes-class
Register Deletable Temporary Objects
Description
registRmlist method registers deletable temporary objects.
Usage
## S4 method for signature 'plot_base'
registRmlist(object)
Arguments
object |
Object; the deletable temporary object to register. |
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Remove Registered Temporary Objects
Description
removeRmlist method removes registered temporary objects.
Usage
## S4 method for signature 'plot_base'
removeRmlist()
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Save Plot
Description
savePlot method saves the plot.
Usage
## S4 method for signature 'plot_base'
savePlot(plot, useGgsave)
Arguments
plot |
|
useGgsave |
Boolean; use |
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Set Back Parts
Description
setBack method sets back parts of frames.
Usage
## S4 method for signature 'plot_base'
setBack()
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setDataframe,plot_base-method,
setFront,plot_base-method
Set Data Frames
Description
setDataframe method sets data frames.
Usage
## S4 method for signature 'plot_base'
setDataframe(parms)
Arguments
parms |
List of objects; graphics settings parameters. |
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setFront,plot_base-method
Set Front Parts
Description
setFront method sets front parts of frames.
Usage
## S4 method for signature 'plot_base'
setFront()
See Also
Other plot:
checkError,plot_base-method,
checkTheme,plot_base-method,
checkVariable,plot_base-method,
commandDoIt,plot_base-method,
factorize-class,
gbox-class,
gcont-class,
gdiscbar-class,
gdist-class,
getCoord,plot_base-method,
getFacet,plot_base-method,
getGeom,plot_base-method,
getGgplot,plot_base-method,
getHelp,plot_base-method,
getMain,plot_base-method,
getMessage,plot_base-method,
getOpts,plot_base-method,
getParms,plot_base-method,
getPlot,plot_base-method,
getScale,plot_base-method,
getTheme,plot_base-method,
getWindowTitle,plot_base-method,
getXlab,plot_base-method,
getYlab,plot_base-method,
getZlab,plot_base-method,
ghist-class,
gkm-class,
gline-class,
gpie-class,
gqq-class,
gscat-class,
gscatmat-class,
plotWindow,plot_base-method,
plot_base-class,
registRmlist,plot_base-method,
removeRmlist,plot_base-method,
savePlot,plot_base-method,
setBack,plot_base-method,
setDataframe,plot_base-method
Text Field Subclass
Description
textfield class is a subclass for GUI text field frame.
Details
This class is a subclass which make GUI text field frame.
Fields
frame:tkwinclass object; parent of widget window.length:Integer; number of grids.
back_list:List of
tkwinclass object; list of grids.value:tclVarclass object; the value of the text field frame.
Contains
gparts_base
Methods
back(perline = 3):backmethod forgparts_baseclass.front(top, initialValue, boxwidth, title):frontmethod fortextfieldsubclass.
See Also
Other guiparts:
back,gparts_base-method,
checkboxes-class,
front,checkboxes-method,
front,radioboxes-method,
front,textfield-method,
front,textfields-method,
front,toolbox-method,
front,variableboxes-method,
gparts_base-class,
radioboxes-class,
textfields-class,
toolbox-class,
variableboxes-class
Multiple Text Fields Subclass
Description
textfields class is a subclass for GUI multiple text fileds frame.
Details
This class is a subclass which make GUI multiple text fileds frame.
Fields
frame:tkwinclass object; parent of widget window.length:Integer; number of grids.
back_list:List of
tkwinclass object; list of grids.fields:List of
textfieldclass object; list oftextfield.
Contains
gparts_base
Methods
back(perline = 3):backmethod forgparts_baseclass.front(top, initValues, titles, boxwidth = "20"):frontmethod fortextfieldssubclass.
See Also
Other guiparts:
back,gparts_base-method,
checkboxes-class,
front,checkboxes-method,
front,radioboxes-method,
front,textfield-method,
front,textfields-method,
front,toolbox-method,
front,variableboxes-method,
gparts_base-class,
radioboxes-class,
textfield-class,
toolbox-class,
variableboxes-class
A Theme for No of At Risk in Kaplan-Meier Plots
Description
These functions generate graphics themes for no of at risk in Kaplan-Meier Plots.
Usage
theme_natrisk(base_theme, base_size = 20, base_family = "")
Arguments
base_theme |
base theme name |
base_size |
base font size |
base_family |
font family name |
See Also
A Theme for No of At Risk in Kaplan-Meier Plots
Description
These functions generate graphics themes for no of at risk in Kaplan-Meier Plots.
Usage
theme_natrisk21(base_theme, base_size = 20, base_family = "")
Arguments
base_theme |
base theme name |
base_size |
base font size |
base_family |
font family name |
See Also
A Theme for No of At Risk in Kaplan-Meier Plots
Description
These functions generate graphics themes for no of at risk in Kaplan-Meier Plots.
Usage
theme_natriskbg(base_theme, base_size = 20, base_family = "")
Arguments
base_theme |
base theme name |
base_size |
base font size |
base_family |
font family name |
See Also
A Simple Black and White Theme
Description
A Simple Black and White Theme
Usage
theme_simple(base_size = 16, base_family = "")
Arguments
base_size |
base font size |
base_family |
font family name |
See Also
A Wrapper Theme for ggthemes's theme_wsj
Description
A Wrapper Theme for ggthemes's theme_wsj
Usage
theme_wsj2(base_size = 16, base_family = "")
Arguments
base_size |
base font size |
base_family |
font family name |
See Also
Tool Box Subclass
Description
toolbox class is a subclass for GUI tool box frame.
Details
This class is a subclass which make GUI tool box frame.
Fields
frame:tkwinclass object; parent of widget window.length:Integer; number of grids.
back_list:List of
tkwinclass object; list of grids.size:textfieldclass object; the value of the font size frame.family:listboxclass object; the value of the font family frame.colour:listboxclass object; the value of the colour set frame.goption:checkboxesclass object; values of other options frame.theme:radioboxesclass object; the value of the graph theme frame.
Contains
gparts_base
Methods
back(perline = 3):backmethod forgparts_baseclass.front(top, showcolourbox = TRUE, fontSize = unlist(options("kmg2FontSize")), fontSize = unlist(options("kmg2FontSize")), fontFamily = unlist(options("kmg2FontFamily")), colourSet = unlist(options("kmg2ColourSet")), saveGraph = unlist(options("kmg2SaveGraph")), themeBase = unlist(options("kmg2Theme")) ):-
frontmethod fortoolboxsubclass.
See Also
Other guiparts:
back,gparts_base-method,
checkboxes-class,
front,checkboxes-method,
front,radioboxes-method,
front,textfield-method,
front,textfields-method,
front,toolbox-method,
front,variableboxes-method,
gparts_base-class,
radioboxes-class,
textfield-class,
textfields-class,
variableboxes-class
Variable Boxes Subclass
Description
variableboxes class is a subclass for GUI variable box frame.
Details
This class is a subclass which make GUI variable box frame.
Fields
frame:tkwinclass object; parent of widget window.length:Integer; number of grids.
back_list:List of
tkwinclass object; list of grids.variable:List of
listboxclass object; variables of the variable box frame.
Contains
gparts_base
Methods
back(perline = 3):backmethod forgparts_baseclass.front(top, types, titles, modes = "default"):frontmethod forvariableboxessubclass.
See Also
Other guiparts:
back,gparts_base-method,
checkboxes-class,
front,checkboxes-method,
front,radioboxes-method,
front,textfield-method,
front,textfields-method,
front,toolbox-method,
front,variableboxes-method,
gparts_base-class,
radioboxes-class,
textfield-class,
textfields-class,
toolbox-class
Wrapper Function of Box Plot Subclass
Description
windowBox function is a wrapper function of gbox class for the R-commander menu bar.
Usage
windowBox()
Wrapper Function of Contour Plot Subclass
Description
windowContour function is a wrapper function of gcont class for the R-commander menu bar.
Usage
windowContour()
Wrapper Function of Discrete Bar Charts Subclass
Description
windowDiscretebar function is a wrapper function of gdiscbar class for the R-commander menu bar.
Usage
windowDiscretebar()
Wrapper Function of Beta Distribution Plot Subclass
Description
windowDistBeta function is a wrapper function of gdist class for the R-commander menu bar.
Usage
windowDistBeta()
Wrapper Function of Binomial Distribution Plot Subclass
Description
windowDistBinom function is a wrapper function of gdist class for the R-commander menu bar.
Usage
windowDistBinom()
Wrapper Function of Cauchy Distribution Plot Subclass
Description
windowDistCauchy function is a wrapper function of gdist class for the R-commander menu bar.
Usage
windowDistCauchy()
Wrapper Function of Chi-square Distribution Plot Subclass
Description
windowDistChisq function is a wrapper function of gdist class for the R-commander menu bar.
Usage
windowDistChisq()
Wrapper Function of Exponential Distribution Plot Subclass
Description
windowDistExp function is a wrapper function of gdist class for the R-commander menu bar.
Usage
windowDistExp()
Wrapper Function of F Distribution Plot Subclass
Description
windowDistF function is a wrapper function of gdist class for the R-commander menu bar.
Usage
windowDistF()
Wrapper Function of Gamma Distribution Plot Subclass
Description
windowDistGamma function is a wrapper function of gdist class for the R-commander menu bar.
Usage
windowDistGamma()
Wrapper Function of Geometric Distribution Plot Subclass
Description
windowDistGeom function is a wrapper function of gdist class for the R-commander menu bar.
Usage
windowDistGeom()
Wrapper Function of Hypergeometric Distribution Plot Subclass
Description
windowDistHyper function is a wrapper function of gdist class for the R-commander menu bar.
Usage
windowDistHyper()
Wrapper Function of Log-normal Distribution Plot Subclass
Description
windowDistLnorm function is a wrapper function of gdist class for the R-commander menu bar.
Usage
windowDistLnorm()
Wrapper Function of Logistic Distribution Plot Subclass
Description
windowDistLogis function is a wrapper function of gdist class for the R-commander menu bar.
Usage
windowDistLogis()
Wrapper Function of Negative Binomial Distribution Plot Subclass
Description
windowDistNbinom function is a wrapper function of gdist class for the R-commander menu bar.
Usage
windowDistNbinom()
Wrapper Function of Normal Distribution Plot Subclass
Description
windowDistNorm function is a wrapper function of gdist class for the R-commander menu bar.
Usage
windowDistNorm()
Wrapper Function of Poisson Distribution Plot Subclass
Description
windowDistPois function is a wrapper function of gdist class for the R-commander menu bar.
Usage
windowDistPois()
Wrapper Function of t Distribution Plot Subclass
Description
windowDistT function is a wrapper function of gdist class for the R-commander menu bar.
Usage
windowDistT()
Wrapper Function of Uniform Distribution Plot Subclass
Description
windowDistUnif function is a wrapper function of gdist class for the R-commander menu bar.
Usage
windowDistUnif()
Wrapper Function of Weibull Distribution Plot Subclass
Description
windowDistWeibull function is a wrapper function of gdist class for the R-commander menu bar.
Usage
windowDistWeibull()
Wrapper Function of Factorize Subclass
Description
windowFactorize function is a wrapper function of factorize class for the R-commander menu bar.
Usage
windowFactorize()
Wrapper Function of Histogram Subclass
Description
windowHist function is a wrapper function of ghist class for the R-commander menu bar.
Usage
windowHist()
Wrapper Function of Kaplan-Meier Plot Subclass
Description
windowKM function is a wrapper function of gkm class for the R-commander menu bar.
Usage
windowKM()
Wrapper Function of Line Chart Subclass
Description
windowScatter function is a wrapper function of gline class for the R-commander menu bar.
Usage
windowLine()
Wrapper Function of Pie Charts Subclass
Description
windowPie function is a wrapper function of gpie class for the R-commander menu bar.
Usage
windowPie()
Wrapper Function of Q-Q Plot Subclass
Description
windowQQ function is a wrapper function of gqq class for the R-commander menu bar.
Usage
windowQQ()
Wrapper Function of Scatter Plot Subclass
Description
windowScatter function is a wrapper function of gscat class for the R-commander menu bar.
Usage
windowScatter()
Wrapper Function of Scatter Plot Matrix Subclass
Description
windowScattermat function is a wrapper function of gscatmat class for the R-commander menu bar.
Usage
windowScattermat()