nonNumeric2FactorByColumn: force to factor when non-numeric

Description Usage Arguments Value

View source: R/formatting_p.R

Description

for a given data frame, this function converts non-numeric columns into factor while the numeric columns are intact.

Usage

1

Arguments

df

it is better to be a data frame. if a vector or matrix, it will be internally converted to data.frame

Value

a data frame


nickytong/GenAnalysis documentation built on July 20, 2019, 8:57 a.m.