rename.column: Rename column(s) within a table.

Description Usage Arguments Value Author(s)

Description

Rename column(s) within a table.

Usage

1
rename.column(x, old.name, new.name)

Arguments

x

a matrix-like object

old.name

a vector of column names. Can be longer than one.

new.name

a vector of replacement names. must be the same length as old.name

Value

the same x, but with column(s) renamed

Author(s)

Mark Cowley, 2009-06-15


drmjc/mjcbase documentation built on May 15, 2019, 2:27 p.m.