rtime: Build random timestamps

Description Usage Arguments

View source: R/density_estimates.R

Description

Based on the timestamps at the given table column, generate a kernel density estimate and return a random column of timestamps (with the same distribution)

Usage

1
2
rtime(tbl, cols, size, onlyDates = FALSE, sparse = FALSE, trim = 0.001,
  adj = 0.1, n = 1e+05, ...)

Arguments

tbl

Table name

cols

Column name

size

Number of rows for the output

onlyDates

Build a timestamp field that contains factually only dates (e.g. 2017-08-02 00:00:00)

sparse

Consider and estimate also the fraction of missing data

trim

Passed to getDensity

adj

Passed to getDensity

n

Passed to getDensity


avirkki/synergetr documentation built on May 18, 2019, 9:16 p.m.