Description Usage Arguments Details Value See Also Examples

`as_pc`

is a function that displays a probability `prob`

as a percentage (rounded to `n_digits`

decimals).

1 |

`prob` |
A probability (as a scalar or vector of numeric values from 0 to 1). |

`n_digits` |
Number of decimal places to which percentage is rounded.
Default: |

`as_pc`

and its complement function `as_pb`

allow
toggling the display of numeric values between percentages and probabilities.

A percentage (as a numeric value).

`is_prob`

verifies a probability;
`is_perc`

verifies a percentage;
`is_valid_prob_set`

verifies the validity of probability inputs;
`num`

contains basic numeric variables;
`init_num`

initializes basic numeric variables;
`prob`

contains current probability information;
`comp_prob`

computes current probability information;
`freq`

contains current frequency information;
`comp_freq`

computes current frequency information;
`comp_complement`

computes a probability's complement;
`comp_comp_pair`

computes pairs of complements.

Other utility functions: `as_pb`

,
`plot.box`

Other display functions: `as_pb`

1 2 3 4 |

riskyr documentation built on Jan. 3, 2019, 1:06 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.