assign.plot.colors(labels, col = "colors")
red
, maroon4
, mediumturquoise
, gold4
,
deepskyblue
, ...), or numeric values if the greyscale option was
chosen (e.g. #000000}, \code{#000000}, \code{#595959},
#B2B2B2}, ...).
[object Object]
# in this example, three discrete classes are specified,
# for Tacitus, Caesar, and Livius
sample.names = c("Tacitus_Annales","Tacitus_Germania","Tacitus_Histories",
"Caesar_Civil_wars","Caesar_Gallic_wars",
"Livius_Ab_Urbe_Condita")
assign.plot.colors(sample.names)# as above, but using greyscale:
assign.plot.colors(sample.names, col = "greyscale")