print_names: Print data frame names

View source: R/print_names.R

print_namesR Documentation

Print data frame names

Description

Prints the names of a data frame in a column so they're easy to copy.

Usage

print_names(df)

Arguments

df

A data frame.

Examples

df <- data.frame(
  one = c(1, 2),
  two = c(3, 4),
  three = c(5, 6)
)

print_names(df)


jhelvy/jhelvyr documentation built on May 17, 2023, 8:46 p.m.