This function allows to create random record keys from a uniform distribution. If no seed is specified, a seed value is computed from the input data set to allow for reproducability depending on the input data set.
ck_generate_rkeys(dat, nr_digits = 8, seed = NULL)
Arguments
microdata used to generated hash for random seed
maximum number of digits in the record keys. The default setting (8
) corresponds with the default setting of the method in tau-argus
.
if not NULL
, a number specifying the initial seed value for the random number generator. If NULL
, a seed is computed from dat
itself.
a numeric vector with nrow(dat)
record keys
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4