sample_date_df: Return a data frame with these added

Description Usage Arguments Value Note

Description

Requires dplyr

Usage

1
2
sample_date_df(df, n, .name = "sampled_date", .id = "replicate",
  quiet = TRUE, ...)

Arguments

df

The data frame to augment

n

Integer. The number of replications

.name

Name of the new column with sampled dates to add to df

.id

Name of the new column with iteration ids to add to df

quiet

Boolean.

...

Arguments to pass to sample_date

Value

The replicated data frame df with two new columns.

Note

If you want to pass one or more .p along to sample_date, you must wrap them in a list first.


mdlincoln/dateSampler documentation built on May 22, 2019, 4:05 p.m.