Returns object with attributes removed

unattr(x)

Arguments

x

any R object

Value

a similar object with attributes removed

Details

attribute removal copies the object as usual

Author

Jens Oehlschlägel

Examples


  bit(2)[]
#> [1] FALSE FALSE
#> attr(,"vmode")
#> [1] "boolean"
  unattr(bit(2)[])
#> [1] FALSE FALSE