inc<- {contextual}R Documentation

Increment

Description

inc<- increments x by value. Equivalent to x <- x + value.

Usage

inc(x) <- value

Arguments

x

object to be incremented

value

value by which x will be modified

Examples

x <- 1:5
inc(x) <- 5
x


[Package contextual version 0.9.8.4 Index]