DATA MINING
Desktop Survival Guide by Graham Williams |
|||||
Quality Plots Using R |
We can save the plots generated by GGobi into an R script file and then have R generate the plots for you. This allows the plots to be regenerated as publication quality graphics.
The DescribeDisplay
package is required for this:
> install.packages("DescribeDisplay") > library(DescribeDisplay) |
> pd <- dd_load("ggobi-saved-display-description.R") > pdf("ggobi-rplot-deductions-outliers") > plot(pd) > dev.off() > ggplot(pd) |
The resulting plot saved to a pdf file is: