View source: R/loglikelihood.R
obs.loglikelihood | R Documentation |
compute the observed log-likelihood
obs.loglikelihood( obs, poset, lambda, eps, weights = NULL, times = NULL, L, sampling = c("forward", "add-remove", "backward", "bernoulli", "pool"), neighborhood.dist = 1L, lambda.s = 1, thrds = 1L, seed = NULL )
obs |
a matrix containing observations or genotypes, where each row
correponds to a genotype vector whose entries indicate whether an event has
been observed ( |
poset |
a matrix containing the cover relations |
lambda |
a vector of the rate parameters |
eps |
error rate |
weights |
an optional vector containing observation weights |
times |
an optional vector of sampling times per observation |
L |
number of samples to be drawn from the proposal |
sampling |
sampling scheme to generate hidden genotypes, |
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 |
seed |
seed for reproducibility |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.