defactor: Defactor the object

View source: R/0_defactor.r

defactorR Documentation

Defactor the object

Description

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


stasvlasov/nstandr documentation built on July 27, 2023, 10:29 p.m.