ff (version 2.2-14)

unclass_-: Unclassed assignement

Description

With unclass<- you can circumvent class dispatch on the assignment operator

Usage

unclass(x) <- value

Arguments

x

some object

value

the value to be assigned

Value

the modified object

See Also

unclass, undim

Examples

Run this code
# NOT RUN {
  x <- factor(letters)
  unclass(x)[1:3] <- 1L
  x
# }

Run the code above in your browser using DataLab