simplevis is a package of
leaflet wrapper functions that aims to make visualisation easier with less brainpower required.
simplevis supports the following families of visualisation type:
hbar (i.e horizontal bar)
tile functions are avaialble from version 4.5 and
density functions from version 4.4 of
Each visualisation family generally has four functions (except
tile, which has two).
The function name specifies whether or not a visualisation is to be coloured by a variable (
*_col()), facetted by a variable (
*_facet()), or neither (
*()) or both of these (
Colouring by a variable means that different values of a selected variable are to have different colours. Facetting means that different values of a selected variable are to have their facet.
*() function such
gg_point() requires only a dataset, an x variable and a y variable.
*_col() function such
gg_point_col() requires only a dataset, an x variable, a y variable, and a colour variable.
*_facet() function such
gg_point_facet() requires only a dataset, an x variable, a y variable, and a facet variable.
*_col_facet() function such
gg_point_col_facet() requires only a dataset, an x variable, a y variable, a colour variable, and a facet variable.
Data is generally plotted with a stat of
identity, which means data is plotted as is.
For boxplot, there is adefault stat of
boxplot, which means the
y_var will be transformed to boxplot statistics.
For density, the stat of the
x_var based on the density prefixed arguments that inform the density calculation.
x_var and a
y_var is required. However,
y_var is not required for
density*() functions. Neither
y_var are required for