We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Also better document it on webpage
Code snippet :
objToSeed = function(x, algo="crc32") { library(digest) hash = digest(ch, algo=algo) strtoi(sprintf("0x%s", substr(hash, 1L, 7L))) } objToSeed("a2j")
The text was updated successfully, but these errors were encountered:
Small typo there. And there are some clashes....
library(BBmisc) library(digest) objToSeed = function(x, algo="crc32") { hash = digest(x, algo=algo) strtoi(sprintf("0x%s", substr(hash, 1L, 7L))) } N = 1e5 x = rnorm(N) res = viapply(rnorm(1e5), objToSeed) (sum(duplicated(res)) - sum(duplicated(x))) / N * 100
Around 0.02% for this very basic example.
Sorry, something went wrong.
I got results near N / .Machine$integer.max with md5. Seems okay I guess?
N / .Machine$integer.max
No branches or pull requests
Also better document it on webpage
Code snippet :
The text was updated successfully, but these errors were encountered: