Description Usage Arguments Value Examples
Compact the deal
1 | deal_compact(a)
|
a |
deal |
"compacted" deal, i.e. deal with distinct outcomes
1 2 3 4 5 6 7 8 9 10 | a <- list(
data.frame(
x=c(2500, 2400, 0),
p=c(0.33, 0.66, 0.01)),
data.frame(
x=c(2400, 2400, 2400),
p=c(0.33, 0.66, 0.01))
)
deal_compact(a)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.