simTrait.Rd
The function takes in a vector of latent genetic values and simulates a trait with controlled heritable variance explained
simTrait(g, h2g)
vector, latent genetic values
numeric, heritability of trait
vector of trait