pos_days_in_month: Return positions for equilateral polygon vertices

View source: R/pos_days_in_month.R

pos_days_in_monthR Documentation

Return positions for equilateral polygon vertices

Description

Return positions for equilateral polygon vertices

Usage

pos_days_in_month(
  date = c("2020-02-11", "2020-02-15"),
  month = NULL,
  days_in_month = NULL,
  x0 = 0,
  y0 = 0,
  week_start_day = "Sunday",
  width = 1,
  height = width
)

Arguments

x0

numeric for x starting point for positioner

y0

numeric for y starting point for positioner

Examples

pos_days_in_month()
pos_days_in_month(date = "1999-02-05")
pos_days_in_month(month = "2012-01",
                  days_in_month = 2)

# Using w plotspace
ggcanvas() +
stamp_tile(xy = pos_month(month = "2020-02")) +
stamp_label(xy =
  pos_days_in_month(month = "2020-02", days_in_month = c(1,2,8)),
label = c(1,2,8))

EvaMaeRey/ggstamp documentation built on June 30, 2022, 11 p.m.