get.scale: Scaling of x-axis

View source: R/plot.R0.R.R

get.scaleR Documentation

Scaling of x-axis

Description

Internal scaling function to display proper x-axis labels.

Usage

get.scale(scale)

Arguments

scale

Scale to be adjusted on x-axis. Can be d (day), w (week (default)), f (fornight), m (month).

Details

Builds the x-axis labels corresponding to a human-friendly level (day, week...).

Value

An integer corresponding to the number of days between each x-axis tickmark.

Author(s)

Pierre-Yves Boelle, Thomas Obadia


R0 documentation built on Sept. 26, 2023, 5:10 p.m.

Related to get.scale in R0...