numchar2fct: Applying var2fct across data set

View source: R/ds2dd_detailed.R

numchar2fctR Documentation

Applying var2fct across data set

Description

Individual thresholds for character and numeric columns

Usage

numchar2fct(data, numeric.threshold = 6, character.throshold = 6)

Arguments

data

dataset. data.frame or tibble

numeric.threshold

threshold for var2fct for numeric columns. Default is 6.

character.throshold

threshold for var2fct for character columns. Default is 6.

Value

data.frame or tibble

Examples

mtcars |> str()
## Not run: 
mtcars |>
  numchar2fct(numeric.threshold = 6) |>
  str()

## End(Not run)

REDCapCAST documentation built on April 4, 2025, 3:18 a.m.