random: True Random Numbers using RANDOM.ORG
ランダムな数値や配列、文字列を生成する
> library(random)
バージョン: 0.2.5
関数名 | 概略 |
---|---|
random |
True random numbers from random.org |
randomNumbers / randomSequence / randomStrings
ランダムな数値、文字列、連続値を生成する
> randomNumbers(n = 10, min = 1, max = 100, col = 2, base = 10, check = TRUE)
Warning in url(urltxt, ..., method = "libcurl"):
URL 'https://www.random.org/integers/?
num=10&min=1&max=100&col=2&base=10&format=plain&rnd=new': status was '503
Service Unavailable'
Error in url(urltxt, ..., method = "libcurl"): cannot open connection
> randomStrings(n = 1, len = 5, digits = TRUE, upperalpha = TRUE,
+ loweralpha = TRUE, unique = TRUE, check = TRUE)
V1
[1,] "QkB5i"