Skip to contents

Convert character-type columns of a data frame to factor-type

Usage

char_to_fac(df)

Arguments

df

A data frame.

Value

The data frame with factor columns instead of char columns.