simBernSparseVec: Simulates a Bernoulli random vector.

Description Usage Arguments Value

Description

Simulates a Bernoulli random vector.

Usage

1
simBernSparseVec(nElem, p)

Arguments

nElem

The number of elements in the vector.

p

The probability of an element being equal to one.

export

Value

The sparse representation of a simulated Bernoulli vector.


norbertbin/SpecClustPack documentation built on May 23, 2019, 9:32 p.m.