salesUnitsPerDay: Estimate units sold per day based on industry and population...

Description Usage Arguments Value Examples

View source: R/population.R

Description

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

1
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

1
2
3
4
5
library(ggplot2)
library(MASS)
avgsalesperday <- salesUnitsPerDay("telecom")
avgsales <- MASS::rnegbin(100, avgsalesperday[["UnitsPerDay"]], 1)
qplot(1:length(avgsales), avgsales) + geom_line()

DoktorMike/dammmdatagen documentation built on Dec. 29, 2021, 6:46 a.m.