zero_subsetting: Make a vector of R indices compatible with c++ by...

zero_subsettingR Documentation

Make a vector of R indices compatible with c++ by substracting every element by one.

Description

Make a vector of R indices compatible with c++ by substracting every element by one.

Usage

zero_subsetting(v)

Arguments

v

A numeric vector.

Value

A numeric vector with every element decremented by one.

Examples

zero_subsetting(c(1,2,3,4,5))


tdrose/mosbi documentation built on May 4, 2022, 3:22 p.m.