Internal function that samples z1 aggregate

SampleZAgg(ntsegm, b1, y1, nmaxclust, lphi1, ltheta, zeroes)

Arguments

ntsegm

An integer.

b1

An integer.

y1

An integer matrix.

nmaxclust

An integer.

lphi1

A numeric matrix.

ltheta

A numeric matrix.

zeroes

A numeric vector.