p_gaps: Plot of data inventory

Description Usage Arguments Details Value Author(s) See Also

Description

This function plot an inventory of the data from one or several station(s)-sensor(s). It is based on the .gap files provided by the function f_properties. It allows to highlight the gaps in time-series.

Usage

1
p_gaps(files, title = "Inventory", BW = FALSE, margin = 0.1)

Arguments

files

List of series to plot

title

Plot title, default is "Inventory"

BW

Black & white plot TRUE / FALSE (default)

margin

Reserved space for label writing - default is 0.1

Details

The inventories are represented with lines displayed bottom-up in the order of the files list. They are labeled with the station_sensor ids.

Colors are the default colors of ggplot2. For a black & white plot, precise BW = TRUE

The margin value is a reserved space for writing the label at the end of each line. Default value is 0.1 of the difference between the minimum and the maximum date. It shall be adjusted following the length of the labels.

Value

A ggplot2 object

Author(s)

P. Chevallier - Nov 2017 - Jan 2019

See Also

f_properties.


htsr documentation built on Jan. 3, 2022, 5:10 p.m.