manageMultipleColumnVariableAndDictionnary: A conveinient method to manage multiple column data and label...

Description Usage Arguments Value

View source: R/utils.R

Description

A conveinient method to manage multiple column data and label dictionnary

Usage

1
2
3
4
5
6
7
8
manageMultipleColumnVariableAndDictionnary(
  data,
  labelVar,
  labelQL,
  listVarToMerge,
  nonAppChar = "NonApp",
  varOutputLabel
)

Arguments

data

a data.frame, containing the data with the indicator variable created by manageMultipleColumnVariable

labelVar

a data.frame with two columns : 1) the variable colname, 2) the clean label to display

labelQL

a data.frame containing three columns : 1) the variable names, 2) one modality as digit, 3) the label of the modality.

listVarToMerge

a character vector, containing the colname of the column to merge

nonAppChar

a character vector of length one, containing the colname of the column to merge

varOutputLabel

a character vector of length one, containing the prefix of the columns to create

Value

a list of three data.frame : 1) data, 2) labelVar, 3) labelQL


rgriffier/statsBordeaux documentation built on Aug. 11, 2021, 9:59 a.m.