Print distribution in a table format. For 2 random variables only

toTable(x)

Arguments

x

Distribution

Value

print table

Examples

data(Pi) toTable(Pi)
#> A 0 1 #> B #> 0 0.1 0.3 #> 1 0.2 0.4