Skip to contents

Get factor/numeric/logical/character names from data.frame/data.table

Usage

getfactornames(x)

Arguments

x

data.frame or data.table (or data.frame-compatible object)

Value

Character vector of column names of x with the specified class.

Author

EDG