sample.genotypes: Sample genotypes

View source: R/sample_genotypes.R

sample.genotypesR Documentation

Sample genotypes

Description

Generate observations from a given poset and given rates

Usage

sample.genotypes(
  N,
  poset,
  lambda,
  sampling.times = NULL,
  lambda.s = 1,
  seed = NULL
)

Arguments

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 1.0

seed

seed for reproducibility


cbg-ethz/MC-CBN documentation built on Dec. 15, 2022, 5:42 p.m.