x2df: convert an object to a data.frame

Description Usage Arguments

View source: R/utils.R

Description

The names is short for: convert (x) (to) a (d)ata (f)frame. Useful for generating transparency levels.

Usage

1
x2df(x, stringsAsFactors = F)

Arguments

x

object, could be a matrix, data.table, etc.

stringsAsFactors

logical, convert character-columns to factors or not


tkonopka/shrt documentation built on March 5, 2020, 2:51 p.m.