sjp/Visual-Inference-Tools — Issue #10: Rename data variables
Author: sjp
Created: 2011-12-05 22:49:37+00:00
State: open

Currently we have the situation where we have two variables available to us.

`x` is the first variable, but `y` is not the second variable. Instead we have the following:

`x`: first variable.
`levels`: second variable (if it is categorical).
`y`: y position for a value of `x` (see `stackPoints`).
`ylevels`: an ordered variable of unique values of `levels`, so that when showing a plot of numeric & categorical data we can present them nicely.

Perhaps this could be renamed to something like:

`x`: first variable.
`xlevels`: unique levels of variable `x` (if categorical).
`x.ypos`: y position for a value of `x` (see `stackPoints`).
`y`: second variable.
`ylevels`: unique levels of variable `y` (if categorical).
`y.ypos`: y position for a value of `y` (see `stackPoints`).