mvcID.new {MAnorm2}R Documentation

Create a New Unique ID for a Mean-Variance Curve

Description

To achieve that different calls of mvcID.new generate distinct IDs, the function returns the current time via Sys.time, appended by a randomly generated serial number.

Usage

mvcID.new(n = 10)

Arguments

n

Length of the serial number.

Value

A character scalar representing the created ID.

Examples

## Not run: 
## Private functions involved.

mvcID.new()
mvcID.new()
Sys.sleep(1.1)
mvcID.new()

## End(Not run)


[Package MAnorm2 version 1.2.2 Index]