View source: R/sample_genotypes.R
sample.genotypes | R Documentation |
Generate observations from a given poset and given rates
sample.genotypes( N, poset, lambda, sampling.times = NULL, lambda.s = 1, seed = NULL )
N |
number of samples |
poset |
a matrix containing the cover relations |
lambda |
a vector of the rate parameters |
sampling.times |
an optional vector of sampling times per observation |
lambda.s |
rate of the sampling process. Defaults to |
seed |
seed for reproducibility |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.