Example - Points, a-b-line, Loess, and Histogram
### Using a toy data set due to example data sets not having more than one Y variable #pdf(file="F:/Website/yyplot/base/baseyy-points-abline-loess-large.pdf", width = 8.5, height = 11)
### Import Data require(datasets) head(OrchardSprays) ### End Import
### Make Y~Y Plot yyplot( x.column = "treatment", y.column = "decrease", split.column = "rowpos", data=OrchardSprays, title.of.all.plots = "OrchardSprays Data Set", xlab="Treatment", ylab="Decrease", color.of.middle.plot = color.gen("darkgreen","grey75",5), number.of.bars = 40, abline.list = list( intercept = c(0), slope = c(10), color = "red", legend = "(0,10) Line" ), loess.list = list( color = "blue", span = c(5/6), legend = "Loess Line" ), top.down = FALSE )
#dev.off()