I'm plotting some Likert data as diverging stacked barcharts, but I can't figure out how to draw borders around the keys in the legend in auto.key (showing colors for each Likert item); HH is based on lattice, so to draw orders around the bars in the actual plots is no problem (see the "# <-" command in the code below).
So how do can I draw (black) borders around keys in the HH package (or make some sort of lattice workaround)?
Here's an equivalent to the code I'm using, with data from the "ProfChal" table often used in HH examples:
data("ProfChal")
likert(Question ~ . , ProfChal[ProfChal$Subtable=="Employment sector",],
ylab=NULL,
main = "",
auto.key = list(columns = 1, reverse.rows = T),
as.percent = T,
borders = list()) # <- This draws borders around the bars in the plot
This code makes the plot below, but I want to have borders also where the bottom arrow points. (Drawing borders around barchart keys seems to be default in lattice ...)