View source: R/shape_sim_random.R
shape_sim_random | R Documentation |
Generate random (Bass, Trapezoidal or Triangular) shapes for the demand of new products during their life cycle
shape_sim_random(periods_number, shape_number)
periods_number |
Number of time periods of the products life cycle |
shape_number |
Number of generic shapes |
A numeric dateframe of three columns: time, shape and assigned_shape
shape_sim_random(periods_number=20, shape_number=5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.