getInd: Extract a position in a vector

Description Usage Arguments

View source: R/misc.R

Description

Given a vector, return a vector with all zeros except at 'position'

Usage

1
getInd(x, position)

Arguments

x

the vector

position

the position


zauster/ormisc documentation built on May 4, 2019, 9:12 p.m.