Phylogenetic heritability estimated at time t

H2(alpha, sigma, sigmae, t = Inf, tm = 0)

Arguments

alpha, sigma

numeric, parameters of the OU process acting on the genetic contributions

sigmae

numeric, environmental standard deviation

t

time from the beginning of the process at which heritability should be calculated, i.e. epidemiologic time

tm

average time for within host evolution from getting infected until getting measured or passing on the infection to another host