make_factors: make_factors

Description Usage Arguments Value

Description

Converts the specified columns of a dataframe to factors

Usage

1

Arguments

df

the dataframe whose columns are to be converted

cols

a logical vector with one element for each column

Value

A dataframe identical to df except that any columns whose corresponding entry in cols is TRUE is converted to a factor


HorridTom/clahrcnwlhf documentation built on May 7, 2019, 4:02 a.m.