Description Usage Arguments Value
Calculates the values of virtual goods in terms of a currency
1 | valueGoods(transactions)
|
transactions |
A numeric matrix representing the transactions available in the game. Each row represents a transaction. The first column represents the cost of a transaction in some currency. If the currency is used up in the transaction, then the value should be negative. The remaining columns represent the quantity of virtual goods gained after the transaction, each column representing a specific virtual good. There should be at least as many transactions as there are virtual goods. |
Values of each virtual good in terms of the currency given in the matrix. If the matrix of transactions is over- or under-determined, then the values of goods are returned which minimizes the squared error between the actual and calculated total values of the transaction.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.