renameColDf {scsR} | R Documentation

## renameColDf

### Description

rename the column of a data frame

### Usage

    renameColDf(df, colOldName, colNewName)

### Arguments

`df` | input data frame
`colOldName` | name of the column that has to be changed (character vector)
`colNewName` | new column name (character vector)

### Value

input data frame with the name of the column changed

### Author(s)

Andrea Franceschini

### Examples

    	data(uuk_screen)
    	screen <- renameColDf(uuk_screen, "score", "my_z_score")

[Package scsR version 1.16.0 Index]