Description Usage Arguments Details Value
View source: R/simulate_bets.R
Build an indicator matrix of 1s and 0s based on a vector of outcomes
1 |
x |
vector of outcomes, must be a factor |
Each column is a level from x. A 1 indicates the event occurred, a 0 it didn't.
An indicator matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.