treemap
(type "index"
) and treegraph
. Use treecolors
to experiment with this method.
treepalette(dtf, index = names(dtf), method = "HCL", palette = NULL, palette.HCL.options, return.parameters = TRUE, prepare.dat = TRUE)
"HCL"
(recommended), which is based on the HCL color space model, or "HSV"
, which uses the argument palette
.palette="HCL"
). This list contains:
hue_start
:
hue_end
:hue_start
and hue_start + 360
that determines the ending hue value (default: 390)
hue_perm
:FALSE
, then the colors are equally distributed from hue_start
to hue_end
(default: TRUE)
hue_rev
:
hue_fraction
:
chroma
:
luminance
:
chroma_slope
:chroma+chroma_slope
, for the third-level nodes chroma+2*chroma_slope
, etc. (default: 5)
luminance_slope
:treecolors
to experiment with these parameters.TRUE
), or just the vector of color values (FALSE
)?return.parameters
).