Description Usage Arguments Value Examples
Create initial dataframe of all unique target series.
Essentially expand.grid()
for the tidyverse.
1 2 | ip_create_seed(tars, names.exclude = c("value"), value.set = 1,
value.name = "value", override.warning = FALSE)
|
tars |
A list of data frames containing series to expand. |
names.exclude |
Vector of names of series to exclude from the data frame creation. |
value.set |
Single number or vector of numbers to initialize the seed |
value.name |
Name of series in the data frame containing |
A data frame containing one row for each combination of the data frame series.
The series in the first tar
data frame vary fastest.
The columns names match names supplied in each of the tar
data frames.
1 2 3 | tar1 <- data.frame(x = letters[1:2], value = runif(2))
tar2 <- data.frame(y = letters[3:5], value = runif(3))
ip_create_seed(list(tar1, tar2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.