sets_sizing {smallsets} | R Documentation |
Sets sizing
Description
Sets sizing parameters for the Smallset Timeline.
Usage
sets_sizing(
captions = NULL,
columns = NULL,
data = NULL,
icons = NULL,
legend = NULL,
resume = NULL,
tiles = NULL
)
Arguments
captions |
Positive numeric value for caption text size. Default is 3. |
columns |
Positive numeric value for column name text size. Default is 3. |
data |
Positive numeric value for printed data text size. Default is 2. |
icons |
Positive numeric value for legend icon size. Default is 1. |
legend |
Positive numeric value for legend text size. Default is 10. |
resume |
Positive numeric value for resume marker size. Default is 1. |
tiles |
Positive numeric value for Smallset tile size. Default is .2. |
Details
Passed to sizing
in Smallset_Timeline.
Value
Returns a list with seven elements (the sizing parameters).
Examples
# increase size of caption text
# and add more caption space, so larger caption text fits
Smallset_Timeline(
data = s_data,
code = system.file("s_data_preprocess.R", package = "smallsets"),
sizing = sets_sizing(captions = 4),
spacing = sets_spacing(captions = 4)
)
[Package smallsets version 2.0.0 Index]