ones_in_zeroes: A vector of zeroes and ones

Description Usage Arguments Value

View source: R/functions_utility.R

Description

A vector of zeroes and ones

Usage

1
ones_in_zeroes(vector_length, index_of_one)

Arguments

vector_length

How long will the vector be?

index_of_one

Where to insert the one?

Value

Vector of zeroes with one(s) at given index position(s)


robinvanemden/contextual documentation built on Aug. 12, 2019, 9:30 p.m.