char_to_fac {metasnf}R Documentation

Convert character-type columns of a dataframe to factor-type

Description

Convert character-type columns of a dataframe to factor-type

Usage

char_to_fac(df)

Arguments

df

A dataframe

Value

df_converted The dataframe with factor-type columns instead of char-type columns


[Package metasnf version 1.1.2 Index]