zero_subsetting {mosbi}R 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))


[Package mosbi version 0.99.17 Index]