binary_vector_gen {biclustermd}R Documentation

Make a binary vector with all values equal to zero except for one

Description

Make a binary vector with all values equal to zero except for one

Usage

binary_vector_gen(n, i)

Arguments

n

Desired vector length.

i

Index whose value is one.

Value

A vector


[Package biclustermd version 0.2.3 Index]