fill.time.gaps: Add empty values for pretty plotting

Description Usage Arguments Value

Description

When plotting a timeline, gaps in date_intervals are ignored. For the attention for topics gaps should be considered as having value 0.

Usage

1
fill.time.gaps(d, date_interval)

Arguments

d

A data.frame with the columns 'time' (Date) and 'value' (numeric)

date_interval

The date_interval is required to know what the gaps are

Value

A data.frame with the columns 'time' (Date) and 'value' (numeric)


kasperwelbers/corpus-tools documentation built on May 20, 2019, 7:37 a.m.