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 55f9e14267a6f44112c2aa45a872a468946bcdb9 and elements
#> [1] 3 7 1 6 7 8 6 1 4
#> (in some order)
rdis(99)
#> A disord object with hash fd1df00e901718124fc58d7d2d4ae4b36e2cf097 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 a66ad23aa16e2f3d2a12a8bd7c8280095b353fa6 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)