11010tianyi / playwith

Automatically exported from code.google.com/p/playwith
0 stars 2 forks source link

latticist - covariate, "z" variable #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
"z" variable: levelplot / etc / panel.triangulate

2 variables on x (or value + error?): 
segplot
 +"level" argument gives covariate (color)

Original issue reported on code.google.com by foolish.android on 7 Aug 2008 at 4:04

GoogleCodeExporter commented 8 years ago
"Groups / Covariate"
categorical --> groups
numeric --> color (but not for barchart / histogram / densityplot)
  + option for covariate in xyplot: 
     "tile" --> levelplot(g ~ x * y, panel=panel.tile)
(add options for cutEq() of numerics)?
(and omit 1:nrow(dat) from groups/conditioning)

"z" / "y2":  ((must be numeric)) ((only allow when both x and y are selected))
* if option "y--z segments", or if x is categorical, use segplot(y * y2 ~ x)
   + option "y+/-z": segplot(I(y-y2) * I(y+y2) ~ x, draw.bands=FALSE, centers=y)
* otherwise use cloud(z ~ x * y)
  -- requries that x and y are numeric?
  -- note "aspect" is different (set panel.aspect, only if numeric); 
     also pch="+", or cross=TRUE is special

-- move "Labels" option into menus?

Original comment by foolish.android on 7 Aug 2008 at 3:56

GoogleCodeExporter commented 8 years ago
color covariate: col = with(dat, Variable)
use current lattice regions palette?
add colorkey?

Original comment by foolish.android on 14 Aug 2008 at 6:53

GoogleCodeExporter commented 8 years ago

Original comment by foolish.android on 30 Aug 2008 at 12:13