From ripley at stats.ox.ac.uk  Mon Dec 22 17:52:06 2003
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Mon Dec 22 17:50:36 2003
Subject: (PR#6005) Re: [Rd] [R] lattice: levelplot: error: min not meaningful
In-Reply-To: <20031222163049.BFEB4104AC@slim.kubism.ku.dk>
Message-ID: <Pine.LNX.4.44.0312221648390.12528-100000@gannet.stats>

>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@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@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
> 
> 

-- 
Brian D. Ripley,                  ripley@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


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