col_fact: Formatting multiple columns as factor

View source: R/col_fact.R

col_factR Documentation

Formatting multiple columns as factor

Description

Depending on dply's contains()-function.

Usage

col_fact(string, data, levels = NULL, labels = NULL)

Arguments

string

Columnnames containg strings.

data

Dataframe

levels

Levels for all selected columns

labels

labels for all selected columns


agdamsbo/daDoctoR documentation built on Aug. 30, 2022, 4:29 p.m.