Learn R Programming

spsurvey (version 4.0.0)

uniqueID: Internal Function: Create Unique IDs for a Survey Design

Description

This function creates unique site IDs by appending a unique number to each occurrence of a site ID. It is intended for survey designs that have repeat visits to sites.

Usage

uniqueID(siteID)

Arguments

siteID

Vector of site IDs.

Value

Vector of unique site IDs.