R/expDesign_sampling.R
determine_obsProb.Rd
Determine the matrix of probabilities of observing the edges Internal.
determine_obsProb( scan.list, sampling = c("constant", "matrix", "random", "function"), all.sampled )
scan.list | a |
---|---|
sampling | for
|
all.sampled | logical scalar, should all nodes be sampled at least once? (TO CHECK: does it work with group-scan sampling?) |
an obsProb
object, being:
a matrix of probabilities of observing an edge (whether it is 0 or 1)
with attribute "sampling"
, one of "constant"
,"matrix"
,"random"
,"function"
,
accordingly