Learn R Programming

casimir (version 0.3.3)

check_id_vars_col: Coerce column to character

Description

Check an arbitrary column in a data.frame for factor type and coerce to character.

Usage

check_id_vars_col(df, col)

Value

The input data.frame df with the specified column being no longer a factor variable.

Arguments

df

An input data.frame.

col

The name of the column to check.