Given a PdataPed object simulates a pedigree according to the linear model defined by formula and user specified parameter values for the given model.
simpedigree(PdP, beta=NULL, nUS=NULL)a PdataPed object
parameter vector for the model defined by the formula argument in PdataPed
vector for the size of the unsampled population(s) defined in the USdam and USsire arguments passed to PdataPed. Parmeters for the unsampled female population come before the male population.
pedigree in 3 columns: id, dam, sire. Base individuals have NA as parents
binary vector indicating unsampled sire records (1)
variable of the form expression(varPed(...)) that can be included in the formula argument of PdataPed so that unobserved male records are effectively hidden
binary vector indicating unsampled dam records (1)
variable of the form expression(varPed(...)) that can be included in the formula argument of PdataPed so that unobserved male records are effectively hidden
Hadfield J.D. et al (2006) Molecular Ecology 15 3715-31
MCMCped