construct_time_scale {tame} | R Documentation |
Construct time scale for summary plot
Description
The construct_time_scale()
function constructs a time scale for the summary
plot.
Usage
construct_time_scale(object, n_breaks = 5)
Arguments
object |
A |
n_breaks |
An integer specifying the number of breaks in the time scale. |
Value
A list with the following components:
-
translator
a data frame with the time scale. -
mid
a numeric value specifying the mid point of the time scale. -
width
a numeric value specifying the width of the time scale. -
breaks
a character vector with the breaks in the time scale.
[Package tame version 0.2.0 Index]