Y~Y Plot

Example - Points, Loess, and Histogram

Code Used

### 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-loess-large.pdf", width = 8.5, height = 11)
Import
Data
### Import Data  
require(datasets)
head(iris)
### End Import
Set up/Plot
the graph
### Make Y~Y Plot
yyplot(
  x.column = "Petal.Length",
  y.column = "Sepal.Length",
  split.column = "Species",
  data=iris,
  title.of.all.plots = "Iris Data Set",
  xlab="Petal Length",
  ylab="Sepal Length",
  loess.list = list(
    color = "blue",
    span = c(5/6),
    legend = "Loess Line"
  )
)
#dev.off()