char_to_fac {metasnf}R Documentation

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

Description

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.


[Package metasnf version 2.1.2 Index]