Description Usage Arguments Details
View source: R/density_estimates.R
Based on the dates at the given table column, generate a kernel density estimate and return a random column of dates (with the same distribution)
1 2 |
tbl |
Table name |
cols |
Column name |
size |
Number of rows for the output |
sparse |
Consider and estimate also the fraction of missing data |
trim |
Passed to getDensity |
adj |
Passed to getDensity |
n |
Passed to getDensity |
The date distribution is estimated as a one-dimensional
kernel density with density
with the standard
notation that day zero equals 1970-01-01 00:00:00 (see the output
of unclass(as.Date("1970-01-01"))
), and the consecutive days
are numbered sequentially as 1,2,3...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.