Displaying 1 result from an estimated 1 matches for "date_sampl_time_recs".
2012 Jun 06
5
how to add a vertical line for each panel in a lattice dotplot with log scale?
by considering this example from barley dataset
#code start
dotplot(variety ~ yield | site, data = barley,
scales=list(x=list(log=TRUE)),
layout = c(1,6),
panel = function(...) {
panel.dotplot(...)
#median.values <- tapply(x, y, median) # medians for each
variety
#panel.abline(v=median.values, col.line="red") # but this