Returns breeding values for all traits
Examples
#Create founder haplotypes
founderPop = quickHaplo(nInd=10, nChr=1, segSites=10)
#Set simulation parameters
SP = SimParam$new(founderPop)
SP$addTraitAD(10, meanDD=0.5)
SP$setVarE(h2=0.5)
SP$nThreads = 1L
#Create population
pop = newPop(founderPop, simParam=SP)
bv(pop, simParam=SP)
#> Trait1
#> [1,] 0.4934663
#> [2,] -1.5507814
#> [3,] 0.6130650
#> [4,] 0.8807040
#> [5,] 0.2381115
#> [6,] -0.5809543
#> [7,] -0.1665697
#> [8,] 1.0083489
#> [9,] 1.0026593
#> [10,] -1.9380496