Learn R Programming

npdsim (version 1.0.0)

shape_sim_triangle: Generate triangular shapes

Description

Generate triangular shapes for the demand of new products during their life cycle

Usage

shape_sim_triangle(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_triangle(periods_number=20, shape_number=5)

Run the code above in your browser using DataLab