Skip to content
Prev 337017 / 398503 Next

A couple of issues with lattice::bwplot

On Tue, Feb 25, 2014 at 4:49 PM, Ravi Varadhan <ravi.varadhan at jhu.edu> wrote:
as.table = TRUE will change the order and grid.text can be used to
plot in npc units (which range from 0 to 1):

library(grid)

pnl <- function(...) { panel.bwplot(...); grid.points(.1, .9, pch =
20, default.units = "npc") }
bwplot(method ~ Tx.effect|name, data=estimates, box.width=0, coef=0,
pch=22, as.table = TRUE, panel = pnl)