i: Increment Function

Description Usage Arguments

Description

This function allows you to increment a variable by 1, or a specified value. If the variable name does not exist, the function creates it and sets the value to one.

Usage

1
i(x, v = 1, envir = parent.frame())

Arguments

x

The variable name you want to increment.

v

Value to increment x by. Does not necesssarily need to be an integer. Default = 1.


qpcg/irtND documentation built on May 26, 2019, 12:34 p.m.