Ports of Xpose4 lattice functions to ggplot2.
The goal is to allow the user to use the same code used for creating plots as for lattice-Xpose, although some additional arguments may sometimes be required:
library(xpose4)
source("kaplan.plot.R") # update plot definition
xpose4() # read in Xpose tables
kaplan.plot(xpdb)
kaplan.plot(xpdb, by=c("ARM==0","ARM==1","ARM==2","ARM==3"), xlim=c(0,120), facet="wrap")
kaplan.plot(): basic version implemented, allows stratification. VPC for KM-plot not tested yet.xpose.VPC(): basic version implemented, allows stratification.
xpose.plot.default(): if implemented, most Xpose plots should be coveredxpose.panel.default(): Panel functionality should be moved toxpose.plot.default()xpose.plot.histogram(): Histogram plotsxpose.panel.histogram(): Panel functionality should be moved toxpose.plot.histogram()xpose.plot.bw(): bw plotsxpose.panel.bw(): Panel functionality should be moved toxpose.plot.bw()xpose.plot.qq(): qq plotsxpose.panel.qq(): Panel functionality should be moved toxpose.plot.qq()xpose.plot.splom(): splom plotsxpose.panel.splom(): Panel functionality should be moved toxpose.plot.splom()ind.plots()xpose.VPC.categorical(): usesxyplot()directly- plots in
bootgam.plots.R data.checkout()dOFV.vs.id(): usesxyplot()directlynpc.coverage(): usesxyplot()directlyxp.akaike.plot(): usesdotplot()directlyxp.plot(): uses lattice plots directly- Any other GAM plots
- All other plots from xpose4specific will hopefully work unchanged once the above are translated
- ...