R: Convert select upper case column names to lower case

lctran {mrgsolve} | R Documentation

## Convert select upper case column names to lower case

### Description

Previous data set requirements included lower case names for data items like `AMT` and `EVID`. Lower case is no longer required.

### Usage

    lctran(data)

### Arguments

`data` | an nmtran-like data frame

### Details

Columns that will be renamed with lower case versions: `AMT`, `II`, `SS`, `CMT`, `ADDL`, `RATE`, `EVID`, `TIME`. If a lower case version of these names exist in the data set, the column will not be renamed.

### Value

A data.frame with renamed columns

The input data set, with select columns made lower case.

### Examples

    data <- data.frame(TIME = 0, AMT = 5, II = 24, addl = 2)
    lctran(data)

[Package mrgsolve version 1.0.0 Index]