(PR#6005) Re: [Rd] [R] lattice: levelplot: error: min not meaningful

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Dec 22 17:52:06 MET 2003


>From the help page:

formula: a formula of the form 'z ~ x * y | g1 * g2 * ...', where 'z'
          is a numeric response, and 'x, y' are numeric values
          evaluated on a rectangular grid.

Please explain why you think that acting as documented necessitates a bug 
report?


On Mon, 22 Dec 2003 wolfram at fischer-zim.ch wrote:

> R 1.8.1:
> 
> ___COMMAND____________________________________________
> 
> levelplot( yield ~ year * variety | site, barley )
> 
> 
> ___ERROR_MESSAGE______________________________________
> 
> Error in Summary.factor(..., na.rm = na.rm) : 
>         "min" not meaningful for factors
> 
> ___COMMENT____________________________________________
> 
> levelplot( yield ~ as.numeric(year) * as.numeric(variety) | site, barley )
> is working but the labels are nasty.
> 
> Best regards
> Wolfram
> 
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
> 
> 

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list