ec.rename: DataFrame Tools : Rename a column

Description Usage Arguments Value Note Author(s) Examples

View source: R/tools.rename.R

Description

Rename a column of the Global Dataset (GDS)

Usage

1
ec.rename(colname, newname)

Arguments

colname

- STRING - the column/variable name

newname

- STRING - the new column/variable name

Value

A data.frame with the column renamed

Note

Memory consumption?

Author(s)

[email protected]

Examples

1
2
3
# == Dataframe is loaded with data()
ec.use("Tiramitsu", "df");
ec.rename('age','Age');

Epiconcept-Paris/Epiconcepts documentation built on July 6, 2017, 7:24 a.m.