Learn R Programming

rBiopaxParser (version 2.10.0)

unfactorize: Replace factors/levels in a data.frame and use plain strings instead

Description

This function takes a data.frame as argument and returns it with strings instead of factors.

Usage

unfactorize(df)

Arguments

df
any data.frame with factor levels in at least one column

Value

The data.frame is returned using strings instead of factors.