Y~Y Plot

Base Version (With Bar Charts)

Uses

Source Code

Please source this code (yy-base-code.txt) so that 'yyplot' may work properly

Notes

Arguments

x.column
- Column name containing all 'good' X data
y.column
- Column name containing all 'good' Y data
split.column
- Column name containing the column for which the data is split by. If you do not want to split your data, split.column = FALSE
data
- Matrix where the data is pulled from
ratio
- Percentage of the X and Y direction given to the scatter plot
title
- Title of all plots (at the top of the page)
cex.title
- Cex of the Title at the top of the page
xlab
- X label
ylab
- Y label
color.of.middle.plot
- Color of points in the middle scatter plot. Good place to use the function 'color.gen'
number.of.bars
- Number of bars that are in the bar charts
abline.list
- List or Logical.
- If you do not want to plot an abline, abline.list = FALSE
- Or it MUST contain all of the fields below spelled exactly the same or will not be plotted
  • intercept - Intercept on the Y axis
  • slope - Slope of line
  • color - Color of line
  • legend - Name supplied to the 'Legend'
- Example form
abline.list = list(
  intercept = c(0),
  slope = c(1),
  color = "red",
  legend = "(0,1) Line"
)
loess.list
- List or Logical.
- If you do not want to plot an loess line, loess.list = FALSE
- Or it MUST contain all of the fields below spelled exactly the same or will not be plotted
  • color - Color of line
  • span - Span supplied to 'Loess.smooth'
  • legend - Name supplied to the 'Legend'
- Example form
loess.list = list(
  color = "blue",
  span = 5/6,
  legend = "(0,1) Line"
)
max.plots
- Maximum number of plots that are on each 'page'
top.down
- Logical. Tells the function to plot the plots from the top-down or bottom-up

Common Examples

Base Code for Y~Y Base Examples

See the example code for the common example of Points and Histograms.