Skip to contents

Returns a random disord object

Usage

rdis(n=9)

Arguments

n

Set to sample from, as interpreted by sample()

Details

A simple disord object, intended as a quick “get you going” example

Value

A disord object.

Author

Robin K. S. Hankin

Examples

rdis()
#> A disord object with hash 0e955881a243455febf1c81880fb4c1ec6db45df and elements
#> [1] 4 2 9 2 3 3 1 7 5
#> (in some order)
rdis(99)
#> A disord object with hash 3657d69687ba0ccafb9ba8919883f553310cbaf9 and elements
#>  [1] 65  3  7 49 70 91 12 39 11 42 40 15 82 44 54 85 58 29 74 67 14 66 69 82 37
#> [26]  4 83 56 52 57 17 87 31 93 52 74 24 55 73 89 10 73 83 89 51 29 49 79 63 23
#> [51] 57 31 59 75 54 40 60  7 51 92 12  3 16 72 12 66 71 82 26 64 33 90  2 73 57
#> [76] 43 33 16 87 15 32 84 91 65 60 25 10 43 95 60 63 58 63 62 34 42 50 37 19
#> (in some order)
rdis(letters)
#> A disord object with hash 2549f56d2130691f1279ca8c01280796701a781b and elements
#>  [1] "n" "b" "u" "e" "f" "s" "q" "x" "h" "v" "h" "n" "c" "r" "o" "o" "k" "x" "g"
#> [20] "z" "u" "h" "z" "o" "e" "p"
#> (in some order)