Description Usage Arguments Value Note
Requires dplyr
1 2 | sample_date_df(df, n, .name = "sampled_date", .id = "replicate",
quiet = TRUE, ...)
|
df |
The data frame to augment |
n |
Integer. The number of replications |
.name |
Name of the new column with sampled dates to add to |
.id |
Name of the new column with iteration ids to add to |
quiet |
Boolean. |
... |
Arguments to pass to |
The replicated data frame df
with two new columns.
If you want to pass one or more .p
along to
sample_date
, you must wrap them in a list
first.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.