Description Usage Arguments Value Examples
Convert deal to dataframe for pretty printing
1 | deal_to_textdf(a, big.mark = ",")
|
a |
deal |
big.mark |
thousand separator. Default is comma. |
dataframe with 2 pairs of 3 columns: gamble number, outcome and corresponding probability
1 2 3 4 5 6 7 8 9 10 | a <- list(
data.frame(
x=c(5e5),
p=c(1)),
data.frame(
x=c(2.5e6, 5e5, 0),
p=c(0.1, 0.89, 0.01))
)
deal_to_textdf(a)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.