add.simmap.legend(leg=NULL, colors, prompt=TRUE, vertical=TRUE, ...)
colors
.leg
, or, if leg=NULL
, named vector of colors in which names(colors
are the states of the mapped discrete character.TRUE
) or horizontally.x
x-coordinate of the legend (if prompt=FALSE
); y
y-coordinate of the legend; and shape
which can be shape="square"
, the default, or shape="circle"
plotSimmap