[R] Change in Lattice bwplot?

iverson iverson at biostat.wisc.edu
Tue Dec 16 16:10:00 CET 2008


While I do not know if anything has changed in lattice, you should provide
a self-contained, reproducible example as indicated by the posting guide. 
That way we (and you) can determine if it's a syntax error, or an issue
with your particular data.  

On Tue, 16 Dec 2008 14:56:09 +0000, "Fredrik Karlsson" <dargosch at gmail.com>
wrote:
> Dear list,
> 
> Sorry for asking this question, but has something changed in the
> syntax for bwplot in Lattice? In an old publication, I used
> 
>> bwplot( VOTMS ~gender |type * group,
>              data=merge(vot,words,by="ord"),
>              nint=30,
>              horizontal=F,
>              layout=c(3,3),
>              box.ratio=0.8)
> 
> which produced a lovelly 3x3 lattice plot with one box/gender in each
> panel. Now, I try
> 
>> bwplot( SyllableNucleusDiff ~ SourceLanguage,data=Hstar,horizontal=F)
> 
> to get just a simple 1x1 panel plot with groups (which I will then of
> course make into a panel plot by adding | factor1 +factor2...), but I
> get a "Syntax error".
> So, has anything changed, or am I just doing something very silly?
> 
> /Fredrik
> 
> --
> "Life is like a trumpet - if you don't put anything into it, you don't
> get anything out of it."
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list