ec.rename: DataFrame Tools : Rename a column

Description Usage Arguments Value Note Author(s) Examples

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)

jp.decorps@epiconcept.fr

Examples

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

Epiconcept-Paris/Epiconcepts documentation built on May 6, 2019, 3:49 p.m.