wolfram@fischer-zim.ch
2003-Dec-22 17:29 UTC
[Rd] [R] lattice: levelplot: error: min not meaningful for factor (PR#6005)
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
Prof Brian Ripley
2003-Dec-22 17:50 UTC
(PR#6005) Re: [Rd] [R] lattice: levelplot: error: min not meaningful
>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
Apparently Analagous Threads
- (PR#6005) Re: [R] lattice: levelplot: error: min not meaningful
- lattice: defining an own function using args for "formula" and "groups"
- [R] proposal: lattice/levelplot: panel.catlevelplot
- lattice: showing panels for factor levels with no values
- converting lists got by tapply to dataframes