dice: Data: Roll a die (100 times).

Description Usage Format Source References Examples

Description

Data frame with events as result.

Usage

1
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

1
2

Example output

    dice 1 2 3 4 5 6 odd even small large
V1     1 1 0 0 0 0 0   1    0     1     0
V2     2 0 1 0 0 0 0   0    1     1     0
V3     5 0 0 0 0 1 0   1    0     0     1
V4     4 0 0 0 1 0 0   0    1     0     1
V5     2 0 1 0 0 0 0   0    1     1     0
V6     5 0 0 0 0 1 0   1    0     0     1
V7     6 0 0 0 0 0 1   0    1     0     1
V8     4 0 0 0 1 0 0   0    1     0     1
V9     1 1 0 0 0 0 0   1    0     1     0
V10    5 0 0 0 0 1 0   1    0     0     1

netCoin documentation built on Oct. 29, 2021, 1:06 a.m.