grate-scales: Scales for ggplot2

Description Usage Arguments

Description

ggplot2 scales grouped date objects; yrwk, yrmon, yrqtr and period.

Usage

1
2
3
4
5
6
7
scale_x_yrwk(..., n = 5, firstday)

scale_x_yrmon(..., n = 5)

scale_x_yrqtr(..., n = 5)

scale_x_period(..., n = 5, interval, firstdate)

Arguments

...

Other arguments passed to ggplot2::scale_x_continuous().

n

Number of breaks (default 5)

firstday

Integer value of the first weekday: 1 (Monday) to 7 (Sunday).

interval

interval ga

firstdate

date the period is anchored / started from


tjtnew/grates documentation built on Feb. 6, 2021, 6:12 p.m.