get.scale {R0}R 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


[Package R0 version 1.3-1 Index]