Learn R Programming

molaR (version 4.2)

OPC_Legend: function for building a legend in OPC plots

Description

crucial graphics subfunction

Usage

OPC_Legend(binColors = c(1:8), binNumber = 8, maskDiscard = F, textCol = "black", size = 1, lineCol = "black")

Arguments

binColors
number sequence for bins and their colors
binNumber
numeric number of different bins
maskDiscard
logical determining whether faces will be blacked out because they are discarded
textCol
color for the text in the circle legend
size
scaling factor for the legend size
lineCol
color for the lines in the legend OPC_Legend()