new_id: A utility function for generating IDs

View source: R/utils.R

new_idR Documentation

A utility function for generating IDs

Description

A utility function for generating IDs

Usage

new_id(x, prefix = "ID", sep = "-")

Arguments

x

The data that require IDs.

prefix

A character string; the prefix to be added to each ID.

sep

A character string; the separator to be added between the prefix and an ID.

Examples

new_id(x = runif(10), prefix = "points")


animate documentation built on Feb. 16, 2023, 10:57 p.m.