df.factorizer: Converts columns in factors

View source: R/functions.R

df.factorizerR Documentation

Converts columns in factors

Description

This functions loads a given dataframe and returns for the given set of columns, columns converted as factors, numeric, characters as specified.

Usage

df.factorizer(given.df, col_names.given, mode = "factor")

Arguments

given.df

Dataframe

col_names.given

List of columns to convert

mode

Type of conversion to do: factor, as.factor, as.numeric = as.numeric(as.character("") )


HCGB-IGTP/HCGB.IGTP.DAnalysis documentation built on April 13, 2025, 12:03 a.m.