| dice {netCoin} | R Documentation |
Data: Roll a die (100 times).
Description
Data frame with events as result.
Usage
data("dice")
Format
A data frame with 100 observations (scenarios) on the following 11 variables (events):
dice: a numeric vector, representing dice results
1: a dichotomous vector of the elemental event "1"
2: a dichotomous vector of the elemental event "2"
3: a dichotomous vector of the elemental event "3"
4: a dichotomous vector of the elemental event "4"
5: a dichotomous vector of the elemental event "5"
6: a dichotomous vector of the elemental event "6"
odd: a dichotomous vector of odd events
even: a dichotomous vector of even events
small: a dichotomous vector of small number events
large: a dichotomous vector of large number events
Source
Random extraction via sample(1:6,100,replace=TRUE)
References
See events.
Examples
data(dice)
head(dice,10)
[Package netCoin version 2.0.48 Index]