R/sirt_add_increment.R

Defines functions sirt_add_increment

## File Name: sirt_add_increment.R
## File Version: 0.01

sirt_add_increment <- function(x, pos, value)
{
    y <- x
    y[pos] <- x[pos] + value
    return(y)
}

Try the sirt package in your browser

Any scripts or data that you put into this service are public.

sirt documentation built on Aug. 11, 2023, 5:07 p.m.