generic_identifier {normfluodbf}R Documentation

Title: A function to append a generic identifier attribute to any data frame, but users supply a name for said attribute.

Description

A function that creates an attribute of seq(numrows) with a step size of 1, where the user provides the attribute name.

Usage

generic_identifier(numrows, col_name)

Arguments

numrows

The number of rows the user intends to have in the created data frame.

col_name

The desired attribute name.

Value

A user-named single attribute data frame with nrow = numrows.

Author(s)

Tingwei Adeck

Examples

generic_identifier(40, col_name="Cycle_No")

[Package normfluodbf version 1.5.2 Index]