Skip to contents

This utilizes heuristics to create a realistic estimation of how many units a company can seel within an industry given the population size of that country.

Usage

salesUnitsPerDay(industry = "telecom", population = 5e+06)

Arguments

industry

the industry to simulate which defaults to telecom

population

the population size which defaults to 5 million people

Value

the number of expected sold units per average day

Examples

library(ggplot2)
library(MASS)
#> 
#> Attaching package: ‘MASS’
#> The following object is masked from ‘package:dplyr’:
#> 
#>     select
avgsalesperday <- salesUnitsPerDay("telecom")
avgsales <- MASS::rnegbin(100, avgsalesperday[["UnitsPerDay"]], 1)
qplot(1:length(avgsales), avgsales) + geom_line()