Description Usage Arguments Value
View source: R/create_market.R
Simulate a base market over several periods based on a set of assumptions.
1 2 3 4 5 6 7 8 | create_market(
start = Sys.Date(),
number_months = 60,
base_volume = 1000,
trend = 1/20000,
randomness = 0.1,
seasons = NULL
)
|
start |
Character or date. When the the time series should start. |
number_months |
Integer. How many months should the time series last. |
base_volume |
Integer. Set magnitude for average daily firm demand. |
trend |
Double. Linear trader across all periods. |
randomness |
Double. Percentage of random variation for the demand. |
seasons |
Tibble. "week", "weekday" and "coefficient" indicating the distribution. |
A tibble with the market size (forcast and actual) for each period.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.