Description Usage Arguments Value Note Author(s) Examples
Sets up a sample space for the experiment of tossing a cardinality repeatedly with the outcomes "Values".
1 | toss_value(times, num_of_cases, makespace=FALSE)
|
times |
Number of tosses. |
num_of_cases |
Cardinality. |
makespace |
Logical. |
A data frame, with an equally likely probs column if makespace is TRUE.
It developed of 'tosscoin' function in prob package.
Jae-seong Yoo <praster1@gmail.com>
1 2 3 | toss_value(1, 3)
toss_value(2, 3)
toss_value(3, 4, makespace = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.