Description Usage Arguments Details Value Author(s) See Also Examples
Sets up a sample space for the experiment of tossing a coin repeatedly with the outcomes "H" or "T".
1 |
times |
number of tosses. |
makespace |
logical. |
The function uses expand.grid()
to generate all possible sequences of flips resulting from the
experiment of tossing a coin. Columns of the dataframe are denoted toss1
, toss2
, up to tosstimes
,
A data frame, with an equally likely probs
column if makespace
is TRUE
.
G. Jay Kerns gkerns@ysu.edu.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.