col_to_factor {ezEDA}R Documentation

Private utility function: given a possibly non-factor column passed as a quosure, convert into a factor

Description

Private utility function: given a possibly non-factor column passed as a quosure, convert into a factor

Usage

col_to_factor(data, col_enquo)

Arguments

data

A data frame or tibble

col_enquo

A quosure

Value

A data frame or tibble with the corresponding column converted to factor if nevessary


[Package ezEDA version 0.1.1 Index]