R/lam_add_increment.R

Defines functions lam_add_increment

## File Name: lam_add_increment.R
## File Version: 0.02

lam_add_increment <- function(vec, pos, val)
{
    vec[pos] <- vec[pos] + val
    return(vec)
}

Try the LAM package in your browser

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

LAM documentation built on May 18, 2022, 5:17 p.m.