[R] Lattice bwplot(): Conditioning on one factor

Rich Shepard rshepard at appl-ecosys.com
Fri Sep 28 18:56:27 CEST 2012


On Fri, 28 Sep 2012, David Winsemius wrote:

> Wouldn't that involve specifying the 'subset' parameter (if bwplot accepts
> a subset argument) or using the 'subset' function to pass the desired rows
> to the data argument if it doesn't?

David,

   That's what I tried:

>> bwplot(quant ~ param | era, data=mg.d, main='Magnesium', ylab='Concentration
>> (mg/L)', subset=era('Pre-mining'))

   Perhaps I didn't write it correctly.

Thanks,

Rich




More information about the R-help mailing list