Skip to contents

Returns object of the same type without factors

Usage

defactor(
  x,
  conv2dt = c("only.tables", "all.but.atomic", "all.but.lists", "all", "none"),
  x_atomic_name = NULL,
  ...
)

Arguments

x

an object

conv2dt

What to convert to data.table

x_atomic_name

Name to use as a col name if x is atomic

...

Arguments passed on to defactor_vector

check.numeric

check if vector is numeric. Default is TRUE. Takes longer with this check but avoids type conversion (numeric to character).

Value

object of the same type without factors