R/functions_utility.R
dec-set.Rd
dec<- decrements x by value. Equivalent to x <- x - value.
dec<-
x
x <- x - value.
dec(x) <- value
object to be decremented
value by which x will be modified
x <- 6:10 dec(x) <- 5 x#> [1] 1 2 3 4 5