generate_categorical_table: Generate table of categorical variable

Description Usage Arguments

View source: R/lipidome_comparison_dataTransformaions.R

Description

'generate_categorical_table' takes a categorical column of a data frame and generates a table where the categorical strings are assigned to a numeric code. This way the information of additional catecorical variabes is not lost when performing an aggregate function.

Usage

1
generate_categorical_table(categorical_col)

Arguments

categorical_col

column of data frame containing categorical values (i.e. strings). Format = df$colname


lisaschneider0509/lipidomeComparisonR documentation built on Aug. 12, 2020, 12:52 a.m.