Description Super class Methods
ScaleList objects contain a list of Scales, and have methods that can perform the same operation on all the scales they contain. They currently also generate the GuideList of trained Guides based on the Scales they contain.
ggr6::List
-> ScaleList
set()
ScaleList$set(index, item)
aesthetics()
ScaleList$aesthetics()
A character vector of aesthetics represented by the Scales within the list.
scale()
ScaleList$scale(aesthetic, default = NULL)
Extract a scale by aesthetic
(returning default
if there is none.)
guides()
ScaleList$guides()
Returns a GuideList of Guides extracted and trained from the Scales within the object.
filter_by_aesthetics()
ScaleList$filter_by_aesthetics(aesthetics)
Return a new ScaleList
containing any scale representing
one or more aesthetics
specified.
discard_by_aesthetics()
ScaleList$discard_by_aesthetics(aesthetics)
Return a new ScaleList
containing any scale that does not
represent the aesthetics
specified.
transform_tbl()
ScaleList$transform_tbl(data)
Calls the $transform_tbl()
method for each Scale iteratively,
returning the result.
untransform_tbl()
ScaleList$untransform_tbl(data)
Calls the $untransform_tbl()
method for each Scale iteratively,
returning the result.
train_tbl()
ScaleList$train_tbl(data_trans)
Calls the $transform_tbl()
method for each Scale.
Calls the $reset()
method for each Scale iteratively,
returning the result.
reset()
ScaleList$reset()
map_tbl()
ScaleList$map_tbl(data_trans)
Calls the $map_tbl()
method for each Scale iteratively,
returning the result.
add_missing()
ScaleList$add_missing(data, renderer)
Add missing scales to this object based on data (whose names are aesthetics) and the Renderer.
clone()
The objects of this class are cloneable with this method.
ScaleList$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.