add_numbered_colnames: add_numbered_colnames

Description Usage Arguments Value Author(s)

View source: R/rctutils.R

Description

Add numbered colnames with a common prefix.

Usage

1
add_numbered_colnames(x, prefix = "C")

Arguments

x

The variable to add column names to.

prefix

The prefix to use for each column name. Each column's number will be appended to this prefix to generate the column name.

Value

'x', with its column names set to the column number appended to 'prefix'.

Author(s)

Ryan Thompson, rct@thompsonclan.org


jrthompson54/DGE.Tools2 documentation built on May 12, 2021, 8:47 p.m.