Learn R Programming

npdsim (version 1.0.0)

shape_sim_random: Generate random (Bass, Trapezoidal or Triangular) shapes

Description

Generate random (Bass, Trapezoidal or Triangular) shapes for the demand of new products during their life cycle

Usage

shape_sim_random(periods_number, shape_number)

Value

A numeric dateframe of three columns: time, shape and assigned_shape

Arguments

periods_number

Number of time periods of the products life cycle

shape_number

Number of generic shapes

Examples

Run this code
shape_sim_random(periods_number=20, shape_number=5)

Run the code above in your browser using DataLab