Random disord objects
rdis.Rd
Returns a random disord object
Arguments
- n
Set to sample from, as interpreted by
sample()
Examples
rdis()
#> A disord object with hash aee2f4e7049acce73df96196ad5ffc39e3e5ee7a and elements
#> [1] 3 7 1 6 7 8 6 1 4
#> (in some order)
rdis(99)
#> A disord object with hash ba00a32dbfacf3a2bc6fdebafdeca8dbdc6caeef and elements
#> [1] 82 44 54 85 58 29 74 67 14 66 69 82 37 4 83 56 52 57 17 87 31 93 52 74 24
#> [26] 55 73 89 10 73 83 89 51 29 49 79 63 23 57 31 59 75 54 40 60 7 51 92 12 3
#> [51] 16 72 12 66 71 82 26 64 33 90 2 73 57 43 33 16 87 15 32 84 91 65 60 25 10
#> [76] 43 95 60 63 58 63 62 34 42 50 37 19 84 94 78 98 6 51 88 40 94 86 72 14
#> (in some order)
rdis(letters)
#> A disord object with hash cb7ef30b709a6b3f34ae91b2b712e156907e3dcc and elements
#> [1] "c" "r" "o" "o" "k" "x" "g" "z" "u" "h" "z" "o" "e" "p" "s" "d" "a" "y" "m"
#> [20] "b" "w" "m" "s" "z" "x" "c"
#> (in some order)