makeDsim(pedigree, N, parallel = FALSE, ncores = getOption("mc.cores", 2L),
invertD = TRUE, calcSE = FALSE, returnA = FALSE)parallel = TRUE should only be used on Linux or Mac operating systems (i.e., not Windows).
Ovaskainen et al. (2008) indicated that the method of calculating the D matrix (see makeD) is only an approximation. They proposed a simulation method that is implemented here. This should be more appropriate, especially when inbreeding occurs in the pedigree.
The value, listDsim will list both the approximate values (returned from makeD) as well as the simulated values. If calcSE is TRUE, these values will be listed in listDsim.
makeDsimDinv <- makeDsim(Mrode9, N = 1000, parallel = FALSE, invertD = TRUE, calcSE = TRUE)$listDsimRun the code above in your browser using DataLab