| Title: | 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. |
| Authors: | Kengo Nagashima [aut, cre] (ORCID: <https://orcid.org/0000-0003-4529-9045>) |
| Maintainer: | Kengo Nagashima <[email protected]> |
| License: | GPL-2 |
| Version: | 0.2-7 |
| Built: | 2026-05-17 09:00:33 UTC |
| Source: | https://github.com/nshi-stat/rcmdrplugin.kmggplot2 |
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.
Maintainer: Kengo Nagashima [email protected] (ORCID)
Rcmdr,
ggplot2,
survfit,
RColorBrewer
ggthemes
scales
back Method for gparts_base Classback method places GUI grids for R-Commander windows.
## S4 method for signature 'gparts_base' back(perline = 3)## S4 method for signature 'gparts_base' back(perline = 3)
perline |
Integer; controls the number of per-line to GUI grids. |
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
checkboxes class is a subclass for GUI check box frame.
This class is a subclass which make GUI check box frame.
frame: tkwin class object; parent of widget window.
length: Integer; number of grids.
back_list: List of tkwin class object; list of grids.
value: List of tclVar class object; values of the check box frame.
cbcheckboxes: tkwin class object; the check box frame.
gparts_base
back(perline = 3): back method for gparts_base class.
front(top, initValues, labels, title = "", right.buttons = FALSE): front method for checkboxes subclass.
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
checkError method checks errors.
## S4 method for signature 'plot_base' checkError(parms)## S4 method for signature 'plot_base' checkError(parms)
parms |
List of objects; graphics settings parameters. |
Boolean; the error code.
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
checkTheme method checks a theme index.
## S4 method for signature 'plot_base' checkTheme(index)## S4 method for signature 'plot_base' checkTheme(index)
index |
Character; a theme index. |
Character; the theme name.
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
checkVariable method checks a variable length.
## S4 method for signature 'plot_base' checkVariable(var)## S4 method for signature 'plot_base' checkVariable(var)
var |
Vector of Character; variable names. |
Character; the fixed variable name.
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
commandDoIt method gets the plot error message.
## S4 method for signature 'plot_base' commandDoIt(command, log)## S4 method for signature 'plot_base' commandDoIt(command, log)
command |
String; command codes. |
log |
Boolean; use |
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
A data frame with 10000 observations on the following 3 variables.
xa x-axis variable
ya y-axis variable
zdensity
contour-class
# 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"))# 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
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
km-class
# 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"))# 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
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
line-class
# 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"))# 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 class is a subclass for factorizing numeric variables.
This class is a subclass which show dialog boxes of a factorizer for graphics editing.
top: tkwin class object; parent of widget window.
alternateFrame: tkwin class object; a special frame for some GUI parts.
vbbox1: variableboxes class object; the frame to select variables.
rbbox1: radioboxes class object; the frame to set options.
NULL
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.
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
front Method for checkboxes SubclassThe front Method for checkboxes Subclass
## S4 method for signature 'checkboxes' front(top, initValues, labels, title = "", right.buttons = FALSE)## S4 method for signature 'checkboxes' front(top, initValues, labels, title = "", right.buttons = FALSE)
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. |
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
front Method for radioboxes SubclassThe front Method for radioboxes Subclass
## S4 method for signature 'radioboxes' front(top, labels, title = "", initValue = 1, right.buttons = FALSE)## S4 method for signature 'radioboxes' front(top, labels, title = "", initValue = 1, right.buttons = FALSE)
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. |
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
front Method for textfield SubclassThe front Method for textfield Subclass
## S4 method for signature 'textfield' front(top, initialValue, boxwidth, title)## S4 method for signature 'textfield' front(top, initialValue, boxwidth, title)
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. |
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
front Method for textfields SubclassThe front Method for textfields Subclass
## S4 method for signature 'textfields' front(top, initValues, titles, boxwidth = "20")## S4 method for signature 'textfields' front(top, initValues, titles, boxwidth = "20")
top |
|
initValues |
List of character; initialization values of text fields. |
titles |
List of character; titles of text fields. |
boxwidth |
Character; size of text fields. |
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
front Method for toolbox SubclassThe front Method for toolbox Subclass
## 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")) )## 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")) )
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. |
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
front Method for variableboxes SubclassThe front Method for variableboxes Subclass
## S4 method for signature 'variableboxes' front(top, types, titles, modes = "default")## S4 method for signature 'variableboxes' front(top, types, titles, modes = "default")
top |
|
types |
List of character; types of variableLists. |
titles |
List of character; titles of variable box frame. |
modes |
List of character; select modes. |
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
gbox class is a subclass for box plots.
This class is a subclass which show dialog boxes of box plots for graphics editing.
top: tkwin class object; parent of widget window.
alternateFrame: tkwin class object; a special frame for some GUI parts.
vbbox1: variableboxes class object; the frame to select variables.
vbbox2: variableboxes class object; the frame to select facet variables.
lbbox1: textfields class object; the frame to set axis labels and the main title.
rbbox1: radioboxes class object; the frame to set the plot type.
cbbox1: checkboxes class object; the frame to set options.
tbbox1: toolbox class object; the frame to set the font, the colour set, other option, and the theme.
NULL
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.
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
gcont class is a subclass for contour plots.
This class is a subclass which show dialog boxes of contour plots for graphics editing.
top: tkwin class object; parent of widget window.
alternateFrame: tkwin class object; a special frame for some GUI parts.
vbbox1: variableboxes class object; the frame to select variables.
vbbox2: variableboxes class object; the frame to select facet variables.
lbbox1: textfields class object; the frame to set axis labels, the legend label, and the main title.
rbbox1: radioboxes class object; the frame to set the decoration type.
tbbox1: toolbox class object; the frame to set the font, the colour set, other option, and the theme.
NULL
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.
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
gdiscbar class is a subclass for discrete bar charts.
This class is a subclass which show dialog boxes of discrete bar charts for graphics editing.
top: tkwin class object; parent of widget window.
alternateFrame: tkwin class object; a special frame for some GUI parts.
vbbox1: variableboxes class object; the frame to select variables.
vbbox2: variableboxes class object; the frame to select facet variables.
lbbox1: textfields class object; the frame to set axis labels and the main title.
rbbox1: radioboxes class object; the frame to set the axis scaling.
tbbox1: toolbox class object; the frame to set the font, the colour set, other option, and the theme.
NULL
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.
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
gdist class is a subclass for distribution plots.
This class is a subclass which show dialog boxes of distribution plots for graphics editing.
top: tkwin class object; parent of widget window.
alternateFrame: tkwin class object; a special frame for some GUI parts.
lbbox1: textfields class object; the frame to set distribution parameters.
lbbox2: textfields class object; the frame to set axis labels, the legend label, and the main title.
rbbox1: radioboxes class object; the frame to set the function type.
tbbox1: toolbox class 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.
NULL
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.
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
geom_stepribbon is an extension of the geom_ribbon, and
is optimized for Kaplan-Meier plots with pointwise confidence intervals
or a confidence band.
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, ... )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, ... )
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. |
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 |
geom_ribbon geom_stepribbon
inherits from geom_ribbon.
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))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))
coord
getCoord method gets coord.
## S4 method for signature 'plot_base' getCoord(parms)## S4 method for signature 'plot_base' getCoord(parms)
parms |
List of objects; graphics settings parameters. |
Character; a code snippet for coords.
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
facet
getFacet method gets facet.
## S4 method for signature 'plot_base' getFacet(parms)## S4 method for signature 'plot_base' getFacet(parms)
parms |
List of objects; graphics settings parameters. |
Character; a code snippet for the facet.
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
geom
getGeom method gets geom.
## S4 method for signature 'plot_base' getGeom(parms)## S4 method for signature 'plot_base' getGeom(parms)
parms |
List of objects; graphics settings parameters. |
Character; a code snippet for geometric objects.
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
ggplot
getGgplot method gets ggplot.
## S4 method for signature 'plot_base' getGgplot(parms)## S4 method for signature 'plot_base' getGgplot(parms)
parms |
List of objects; graphics settings parameters. |
Character; a code snippet for ggplot functions.
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
getHelp method gets the title of the help document.
## S4 method for signature 'plot_base' getHelp()## S4 method for signature 'plot_base' getHelp()
Character; the title of the help document.
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
getMain method gets the main label (graph title).
## S4 method for signature 'plot_base' getMain(parms)## S4 method for signature 'plot_base' getMain(parms)
parms |
List of objects; graphics settings parameters. |
Character; a code snippet for the main label.
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
getMessage method gets the plot error message.
## S4 method for signature 'plot_base' getMessage()## S4 method for signature 'plot_base' getMessage()
Character; the plot error message.
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
opts
getOpts method gets other graph options.
## S4 method for signature 'plot_base' getOpts(parms)## S4 method for signature 'plot_base' getOpts(parms)
parms |
List of objects; graphics settings parameters. |
Character; a code snippet for other graph options.
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
getParms method gets graphics settings parameters.
## S4 method for signature 'plot_base' getParms()## S4 method for signature 'plot_base' getParms()
List of objects; graphics settings parameters.
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
getPlot method gets the plot object.
## S4 method for signature 'plot_base' getPlot(parms)## S4 method for signature 'plot_base' getPlot(parms)
parms |
List of objects; graphics settings parameters. |
ggplot2 class object; the plot.
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
scale
getScale method gets scale.
## S4 method for signature 'plot_base' getScale(parms)## S4 method for signature 'plot_base' getScale(parms)
parms |
List of objects; graphics settings parameters. |
Character; a code snippet for scales.
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
gettextRcmdr Wrapper FunctionThis function is a gettextRcmdr wrapper function for this package.
gettextKmg2(...)gettextKmg2(...)
... |
arguments passed to gettext function |
theme
getTheme method gets the graph theme.
## S4 method for signature 'plot_base' getTheme(parms)## S4 method for signature 'plot_base' getTheme(parms)
parms |
List of objects; graphics settings parameters. |
Character; a code snippet for the theme.
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
getWindowTitle method gets the title of the window.
## S4 method for signature 'plot_base' getWindowTitle()## S4 method for signature 'plot_base' getWindowTitle()
Character; the title of the window.
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
xlab
getXlab method gets the x-axis label.
## S4 method for signature 'plot_base' getXlab(parms)## S4 method for signature 'plot_base' getXlab(parms)
parms |
List of objects; graphics settings parameters. |
Character; a code snippet for the x-axis label.
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
ylab
getYlab method gets the y-axis label.
## S4 method for signature 'plot_base' getYlab(parms)## S4 method for signature 'plot_base' getYlab(parms)
parms |
List of objects; graphics settings parameters. |
Character; a code snippet for the y-axis label.
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
zlab
getZlab method gets the label of the stratum.
## S4 method for signature 'plot_base' getZlab(parms)## S4 method for signature 'plot_base' getZlab(parms)
parms |
List of objects; graphics settings parameters. |
Character; a code snippet for the label of the stratum.
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
ggsave for recordedplot Class ObjectsThis is a modified function of ggsave for recordedplot class
objects.
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, ... )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, ... )
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 |
ghist class is a subclass for histograms.
This class is a subclass which show dialog boxes of histograms for graphics editing.
top: tkwin class object; parent of widget window.
alternateFrame: tkwin class object; a special frame for some GUI parts.
vbbox1: variableboxes class object; the frame to select variables.
vbbox2: variableboxes class object; the frame to select facet variables.
vbbox3: variableboxes class object; the frame to set the no. of bins.
lbbox1: textfields class object; the frame to set axis labels and the main title.
rbbox1: radioboxes class object; the frame to set the axis scaling.
cbbox1: checkboxes class object; the frame to set options.
tbbox1: toolbox class object; the frame to set the font, the colour set, other option, and the theme.
NULL
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.
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
gkm class is a subclass for Kaplan-Meier plots.
This class is a subclass which show dialog boxes of Kaplan-Meier plots for graphics editing.
top: tkwin class object; parent of widget window.
alternateFrame: tkwin class object; a special frame for some GUI parts.
vbbox1: variableboxes class object; the frame to select variables.
vbbox2: variableboxes class object; the frame to select facet variables.
lbbox1: textfields class object; the frame to set axis labels, the legend label, and the main title.
lbbox2: textfields class object; the frame to set the tick count.
rbbox1: radioboxes class object; the frame to set the plot type.
cbbox1: checkboxes class object; the frame to set option(s).
tbbox1: toolbox class object; the frame to set the font, the colour set, other option, and the theme.
NULL
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.
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
gline class is a subclass for line charts.
This class is a subclass which show dialog boxes of line charts for graphics editing.
top: tkwin class object; parent of widget window.
alternateFrame: tkwin class object; a special frame for some GUI parts.
vbbox1: variableboxes class object; the frame to select variables.
vbbox2: variableboxes class object; the frame to select facet variables.
lbbox1: textfields class object; the frame to set axis labels, the legend label, and the main title.
rbbox1: radioboxes class object; the frame to set the plot type.
rbbox2: radioboxes class object; the frame to set the summary type.
rbbox3: radioboxes class object; the frame to set the scale type.
tbbox1: toolbox class object; the frame to set the font, the colour set, other option, and the theme.
NULL
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.
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
gparts_base class is the base class for GUI frames.
This class is a framework for implementing subclasses which make GUI frames.
frame: tkwin class object; parent of widget window.
length: Integer; number of grids.
back_list: List of tkwin class object; list of grids.
NULL
back(perline = 3): back method for gparts_base class.
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
gpie class is a subclass for pie charts.
This class is a subclass which show dialog boxes of pie charts for graphics editing.
top: tkwin class object; parent of widget window.
alternateFrame: tkwin class object; a special frame for some GUI parts.
vbbox1: variableboxes class object; the frame to select variables.
vbbox2: variableboxes class object; the frame to select facet variables.
lbbox1: textfields class object; the frame to set axis labels and the main title.
tbbox1: toolbox class object; the frame to set the font, the colour set, other option, and the theme.
NULL
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.
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
gqq class is a subclass for Q-Q plots.
This class is a subclass which show dialog boxes of Q-Q plots for graphics editing.
top: tkwin class object; parent of widget window.
alternateFrame: tkwin class object; a special frame for some GUI parts.
vbbox1: variableboxes class object; the frame to select variables.
lbbox1: textfields class object; the frame to set axis labels, the legend label, and the main title.
lbbox2: textfields class object; the frame to set other theoretical distribution.
rbbox1: radioboxes class object; the frame to set the theoretical distribution.
tbbox1: toolbox class object; the frame to set the font, the colour set, other option, and the theme.
NULL
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.
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
gscat class is a subclass for scatter plots.
This class is a subclass which show dialog boxes of scatter plots for graphics editing.
top: tkwin class object; parent of widget window.
alternateFrame: tkwin class object; a special frame for some GUI parts.
vbbox1: variableboxes class object; the frame to select variables.
vbbox2: variableboxes class object; the frame to select facet variables.
lbbox1: textfields class object; the frame to set axis labels, the legend label, and the main title.
rbbox1: radioboxes class object; the frame to set the smoothing type.
tbbox1: toolbox class object; the frame to set the font, the colour set, other option, and the theme.
NULL
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.
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
gscatmat class is a subclass for a scatter plot matrix.
This class is a subclass which show dialog boxes of a scatter plot matrix for graphics editing.
top: tkwin class object; parent of widget window.
alternateFrame: tkwin class object; a special frame for some GUI parts.
vbbox1: variableboxes class object; the frame to select variables.
lbbox1: textfields class object; the frame to set the main title.
rbbox1: radioboxes class object; the frame to set the smoothing type.
tbbox1: toolbox class object; the frame to set the font, the colour set, other option, and the theme.
NULL
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.
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
This function lists the last command is executed by RcmdrPlugin.KMggplot2
lastcom()lastcom()
This is a function to select non-factor variables for the Rcmdr package.
nonFactors()nonFactors()
This is a function to check the active dataset has more than or equal to n non-factor variables.
nonFactorsP(n = 1)nonFactorsP(n = 1)
n |
Numeric: the target number of |
Boolean; the active dataset has or does not have more than or equal to n non-factor variables.
plot_base class is the base class for plot windows.
This class is a framework for implementing subclasses which show dialog boxes for graphics editing.
top: tkwin class object; parent of widget window.
alternateFrame: tkwin class object; a special frame for some GUI parts.
rmlist: List of character; deletable temporary objects.
mode: numeric; the executive mode (0 = justDoIt, 1 = doItAndPrint).
NULL
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.
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
plotWindow method creates the window that make plots.
## S4 method for signature 'plot_base' plotWindow()## S4 method for signature 'plot_base' plotWindow()
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
radioboxes class is a subclass for GUI radio box frame.
This class is a subclass which make GUI radio box frame.
frame: tkwin class object; parent of widget window.
length: Integer; number of grids.
back_list: List of tkwin class object; list of grids.
value: tclVar class object; the value of the radio box frame.
rbradioboxes: tkwin class object; the radio box frame.
gparts_base
back(perline = 3): back method for gparts_base class.
front(top, labels, title = "", initValue = 1, right.buttons = FALSE): front method for radioboxes subclass.
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
registRmlist method registers deletable temporary objects.
## S4 method for signature 'plot_base' registRmlist(object)## S4 method for signature 'plot_base' registRmlist(object)
object |
Object; the deletable temporary object to register. |
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
removeRmlist method removes registered temporary objects.
## S4 method for signature 'plot_base' removeRmlist()## S4 method for signature 'plot_base' removeRmlist()
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
savePlot method saves the plot.
## S4 method for signature 'plot_base' savePlot(plot, useGgsave)## S4 method for signature 'plot_base' savePlot(plot, useGgsave)
plot |
|
useGgsave |
Boolean; use |
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
setBack method sets back parts of frames.
## S4 method for signature 'plot_base' setBack()## S4 method for signature 'plot_base' setBack()
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
setDataframe method sets data frames.
## S4 method for signature 'plot_base' setDataframe(parms)## S4 method for signature 'plot_base' setDataframe(parms)
parms |
List of objects; graphics settings parameters. |
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
setFront method sets front parts of frames.
## S4 method for signature 'plot_base' setFront()## S4 method for signature 'plot_base' setFront()
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
textfield class is a subclass for GUI text field frame.
This class is a subclass which make GUI text field frame.
frame: tkwin class object; parent of widget window.
length: Integer; number of grids.
back_list: List of tkwin class object; list of grids.
value: tclVar class object; the value of the text field frame.
gparts_base
back(perline = 3): back method for gparts_base class.
front(top, initialValue, boxwidth, title): front method for textfield subclass.
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
textfields class is a subclass for GUI multiple text fileds frame.
This class is a subclass which make GUI multiple text fileds frame.
frame: tkwin class object; parent of widget window.
length: Integer; number of grids.
back_list: List of tkwin class object; list of grids.
fields: List of textfield class object; list of textfield.
gparts_base
back(perline = 3): back method for gparts_base class.
front(top, initValues, titles, boxwidth = "20"): front method for textfields subclass.
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
These functions generate graphics themes for no of at risk in Kaplan-Meier Plots.
theme_natrisk(base_theme, base_size = 20, base_family = "")theme_natrisk(base_theme, base_size = 20, base_family = "")
base_theme |
base theme name |
base_size |
base font size |
base_family |
font family name |
These functions generate graphics themes for no of at risk in Kaplan-Meier Plots.
theme_natrisk21(base_theme, base_size = 20, base_family = "")theme_natrisk21(base_theme, base_size = 20, base_family = "")
base_theme |
base theme name |
base_size |
base font size |
base_family |
font family name |
These functions generate graphics themes for no of at risk in Kaplan-Meier Plots.
theme_natriskbg(base_theme, base_size = 20, base_family = "")theme_natriskbg(base_theme, base_size = 20, base_family = "")
base_theme |
base theme name |
base_size |
base font size |
base_family |
font family name |
A Simple Black and White Theme
theme_simple(base_size = 16, base_family = "")theme_simple(base_size = 16, base_family = "")
base_size |
base font size |
base_family |
font family name |
A Wrapper Theme for ggthemes's theme_wsj
theme_wsj2(base_size = 16, base_family = "")theme_wsj2(base_size = 16, base_family = "")
base_size |
base font size |
base_family |
font family name |
toolbox class is a subclass for GUI tool box frame.
This class is a subclass which make GUI tool box frame.
frame: tkwin class object; parent of widget window.
length: Integer; number of grids.
back_list: List of tkwin class object; list of grids.
size: textfield class object; the value of the font size frame.
family: listbox class object; the value of the font family frame.
colour: listbox class object; the value of the colour set frame.
goption: checkboxes class object; values of other options frame.
theme: radioboxes class object; the value of the graph theme frame.
gparts_base
back(perline = 3): back method for gparts_base class.
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"))
): front method for toolbox subclass.
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
variableboxes class is a subclass for GUI variable box frame.
This class is a subclass which make GUI variable box frame.
frame: tkwin class object; parent of widget window.
length: Integer; number of grids.
back_list: List of tkwin class object; list of grids.
variable: List of listbox class object; variables of the variable box frame.
gparts_base
back(perline = 3): back method for gparts_base class.
front(top, types, titles, modes = "default"): front method for variableboxes subclass.
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
windowBox function is a wrapper function of gbox class for the R-commander menu bar.
windowBox()windowBox()
windowContour function is a wrapper function of gcont class for the R-commander menu bar.
windowContour()windowContour()
windowDiscretebar function is a wrapper function of gdiscbar class for the R-commander menu bar.
windowDiscretebar()windowDiscretebar()
windowDistBeta function is a wrapper function of gdist class for the R-commander menu bar.
windowDistBeta()windowDistBeta()
windowDistBinom function is a wrapper function of gdist class for the R-commander menu bar.
windowDistBinom()windowDistBinom()
windowDistCauchy function is a wrapper function of gdist class for the R-commander menu bar.
windowDistCauchy()windowDistCauchy()
windowDistChisq function is a wrapper function of gdist class for the R-commander menu bar.
windowDistChisq()windowDistChisq()
windowDistExp function is a wrapper function of gdist class for the R-commander menu bar.
windowDistExp()windowDistExp()
windowDistF function is a wrapper function of gdist class for the R-commander menu bar.
windowDistF()windowDistF()
windowDistGamma function is a wrapper function of gdist class for the R-commander menu bar.
windowDistGamma()windowDistGamma()
windowDistGeom function is a wrapper function of gdist class for the R-commander menu bar.
windowDistGeom()windowDistGeom()
windowDistHyper function is a wrapper function of gdist class for the R-commander menu bar.
windowDistHyper()windowDistHyper()
windowDistLnorm function is a wrapper function of gdist class for the R-commander menu bar.
windowDistLnorm()windowDistLnorm()
windowDistLogis function is a wrapper function of gdist class for the R-commander menu bar.
windowDistLogis()windowDistLogis()
windowDistNbinom function is a wrapper function of gdist class for the R-commander menu bar.
windowDistNbinom()windowDistNbinom()
windowDistNorm function is a wrapper function of gdist class for the R-commander menu bar.
windowDistNorm()windowDistNorm()
windowDistPois function is a wrapper function of gdist class for the R-commander menu bar.
windowDistPois()windowDistPois()
windowDistT function is a wrapper function of gdist class for the R-commander menu bar.
windowDistT()windowDistT()
windowDistUnif function is a wrapper function of gdist class for the R-commander menu bar.
windowDistUnif()windowDistUnif()
windowDistWeibull function is a wrapper function of gdist class for the R-commander menu bar.
windowDistWeibull()windowDistWeibull()
windowFactorize function is a wrapper function of factorize class for the R-commander menu bar.
windowFactorize()windowFactorize()
windowHist function is a wrapper function of ghist class for the R-commander menu bar.
windowHist()windowHist()
windowKM function is a wrapper function of gkm class for the R-commander menu bar.
windowKM()windowKM()
windowScatter function is a wrapper function of gline class for the R-commander menu bar.
windowLine()windowLine()
windowPie function is a wrapper function of gpie class for the R-commander menu bar.
windowPie()windowPie()
windowQQ function is a wrapper function of gqq class for the R-commander menu bar.
windowQQ()windowQQ()
windowScatter function is a wrapper function of gscat class for the R-commander menu bar.
windowScatter()windowScatter()
windowScattermat function is a wrapper function of gscatmat class for the R-commander menu bar.
windowScattermat()windowScattermat()