gcOffline {gcExplorer} | R Documentation |
Save gcExplorer
plots or tables to a file.
## S4 method for signature 'kccasimple': gcOffline(object, panel.function, panel.args=NULL, type=pdf, file="gcOffline", which=NULL, html=FALSE, ...)
object |
Object of class "kccasimple" . |
panel.function |
Only used if interactive=TRUE . The panel function
which should be used to display the corresponding cluster |
panel.args |
List of arguments which should be passed to panel.function . |
type |
Create graphics of type type , e.g., pdf, postscript, jpeg, png. |
file |
File name prefix used for graphics files. Of the form file-which.type and file-graph.type. |
which |
A vector specifying if all cluster plots (default) or only a subset should be created. |
html |
Logical. Does the panel.function produce HTML tables. |
... |
Further arguments can be passed to gcExplorer . |
Theresa Scharl
data("hsod") set.seed(1111) cl1 <- qtclust(hsod, radius=2, save.data=TRUE) # create three files: hsod-003.pdf, hsod-005.pdf, hsod-graph.pdf gcOffline(cl1,panel.function=gcProfile, file="hsod", which=c(3,5)) # create two files: hsod-003.html, hsod-005.html gcOffline(cl1, panel.function = gcTable, html = TRUE, panel.args = list(links = links_hsod), file = "hsod", which=c(3,5)) # tidy up unlink(list.files()[grep("hsod-",list.files())])