rand_identifier: Map an ID variable to randomly generated IDs

Description Usage Arguments Details Examples

View source: R/rand_identifier.R

Description

Generates a random ID variable based on a previously existing ID variable.

Usage

1
rand_identifier(x, seed)

Arguments

x

A numeric or character vector; the ID variable

seed

Seed for random sampling

Details

Maps ID values to a random ordering of integers to generate the new ID.

Examples

1
2

thomasgstewart/ahsqc documentation built on Jan. 24, 2021, 11:19 a.m.