Skip to contents

List column names by class

Usage

names_by_class(x, sorted = TRUE, item_format = highlight, maxlength = 24)

Arguments

x

tabular data.

sorted

Logical: If TRUE, sort the output

item_format

Function: Function to format each item

maxlength

Integer: Maximum number of items to print

Value

NULL, invisibly.

Author

EDG

Examples

names_by_class(iris)
#>   numeric: <chr> Petal.Length, Petal.Width, Sepal.Length, Sepal.Width
#>    factor: <chr> Species