importance.weight | R Documentation |
compute the sufficient statistics in expectation using importance sampling
importance.weight( genotype, L, poset, lambda, eps, time = NULL, sampling = c("forward", "add-remove", "backward", "bernoulli", "pool"), weight.remove = numeric(0), dist.pool = integer(0), Tdiff.pool = matrix(0), neighborhood.dist = 1L, lambda.s = 1, thrds = 1L, seed = NULL )
genotype |
either a binary vector or a matrix containing observations
or genotypes. Each row of the matrix corresponds to a genotype vector whose
entries indicate whether an event has been observed ( |
L |
number of samples to be drawn from the proposal |
poset |
a matrix containing the cover relations |
lambda |
a vector of the rate parameters |
eps |
error rate |
time |
optional argument specifying the sampling time |
sampling |
sampling scheme to generate hidden genotypes, |
weight.remove |
a numeric vector of length |
dist.pool |
Hamming distance between |
Tdiff.pool |
Expected time differences for the genotype pool. This
option is used if |
neighborhood.dist |
an integer value indicating the Hamming distance
between the observation and the samples generated by |
lambda.s |
rate of the sampling process. Defaults to |
thrds |
number of threads for parallel execution. This option is used
if |
seed |
seed for reproducibility |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.