The colouring of the plot is defined to some extent by the colour_level
argument. This should be specified
as an integer between 1 and the highest level in the framework (i.e. the maximum of the iMeta$Level
column).
Levels higher than and including colour_level
are coloured with individual colours from the standard colour
palette. Any levels below colour_level
are coloured with the same colours as their parents, to emphasise
that they belong to the same group, and also to avoid repeating the colour palette. Levels below colour_level
can be additionally differentiated by setting transparency = TRUE
which will apply increasing transparency
to lower levels.
This function returns a ggplot2 class object. If you want more control over the appearance of the plot, pass
return the output of this function to a variable, and manipulate this further with ggplot2 commands to e.g.
change colour palette, individual colours, add titles, etc.
See vignette("visualisation
) for more details on plotting.
This function replaces the now-defunct plotframework()
from COINr < v1.0.