inbreed function calculates the inbreeding coefficients for all individuals in a tidied pedigree.
inbreed(ped, ...)A tidyped object with an additional column f.
A tidyped object.
Additional arguments (currently ignored).
This function takes a pedigree tidied by the tidyped function and calculates the inbreeding coefficients using optimized C++ code based on the Meuwissen & Luo (1992) algorithm. It is the core engine used by both tidyped(..., inbreed = TRUE) and pedmat(..., method = "f"), ensuring consistent results across the package. It is significantly faster than standard R implementations for large pedigrees.