ones_in_zeroes {contextual}R Documentation

A vector of zeroes and ones

Description

A vector of zeroes and ones

Usage

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)


[Package contextual version 0.9.8.4 Index]