Description Usage Arguments Examples
View source: R/create_wm_cluster.R
Create clusters for Weekly Margins simulation
1 2 |
data |
a |
start |
If specified, data will be filtered from given date to 7 days after. |
rm_prev_clus |
Remove previous clusters before creating new ones. |
sort_other_clus |
Reorder rows of other clusters data. |
opts |
List of simulation parameters returned by the function
|
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# set path to your simulation
opts <- setSimulationPath(path = "path/", simulation = "input")
# Read data from suppliers
plannings <- read_planning()
# create clusters
clusters_crea <- create_wm_cluster(plannings, opts)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.