| banking {lattice} | R Documentation |
Calculates `banking' slope
banking(dx, dy)
dx, dy |
vector of consecutive x, y differences. Look in
xyplot code for how this is used.
|
banking is a crude banking function used when aspect="xy" in
xyplot. It just orders the absolute slopes and returns a value
which when adjusted by the panel scale limits will make the median of
the above absolute slopes a 45 degree line. (Confused ? see code.)
Deepayan Sarkar deepayan@stat.wisc.edu