add_labeled_values: Add Labeled Rownames

Description Usage Arguments Value

View source: R/utilities.R

Description

When applying MCA, original category names are pre-appended to the answer only for binary variables. This function is used for changing the row names of the input DF, pre-appending the category names for all types of variable.

Usage

1
add_labeled_values(DF, labeled_values)

Arguments

DF

A data frame

labeled_values

Array, with values labeled by category

Value

A data frame, the same as the input one, but with rownames modified with the labeled version of variable values.


mandel94/easyAnalysis documentation built on Jan. 2, 2022, 9:52 a.m.