computeDemand {WordOfMouth} | R Documentation |
Computes the expected demand
Description
Computes the expected demand for a given Word-of-Mouth campaign at a given price.
Usage
computeDemand(campaign, price)
Arguments
campaign |
Word-of-Mouth campaign as instance of class |
price |
Price as number in [0; 1] where 0 is the minimal and 1 is the maximal price. |
Value
Expected demand in number of persons.
Author(s)
Michael Scholz michael.scholz@th-deg.de
Thomas Woehner Thomas.Woehner@eah-jena.de
Ralf Peters ralf.peters@wiwi.uni-halle.de
See Also
computeRoundDemand
computeProfit
computeConsumerSurplus
computeOptimalPrice
Examples
network <- new("WoMNetwork", size = 1000, avgConnections = 5)
campaign <- new("WoMCampaign", network = network, seedingSize = 10, forwardProbability = 0.2)
demand <- computeDemand(campaign, price = 0.5)
print(demand)
[Package WordOfMouth version 1.1.0 Index]