Usage
evolvability(object, direction, ...)
respondability(object, direction, ...)
conditional_evolvability(object, direction, ...)
autonomy(object, direction, ...)
mean_evolvability(object, ...)
g_max(object, ...)
variance_along_gradient(object, direction, normalize = TRUE, ...)
eigen_G(object, ...)Arguments
- object
An
hsquared_fitfrom the multivariate model.- direction
A numeric vector of selection gradients, one per trait. It is normalised to unit length internally; only its direction matters.
- ...
Unused.
- normalize
For
variance_along_gradient(), whether to scaledirectionto unit length first (TRUE, the default, which then equalsevolvability());FALSEusesdirectionas given, returning the genetic variance in the raw (un-normalised) selection gradientbeta'G beta.
Value
A scalar for the directional metrics; a list for eigen_G()
(values, vectors) and g_max() (eigenvalue, eigenvector).
Details
These extractors summarise the genetic variance-covariance matrix G of an
multivariate hsquared_fit (a cbind() response; dense and
validation-scale, capped by max_dense_cells) through its
rotation-invariant geometry, following Hansen & Houle (2008). They are
defined on G itself (not on factor loadings), so they are well defined for
any multivariate fit – unstructured, diagonal, or (when bridged) low-rank /
factor-analytic – and do not depend on a loading rotation convention.
eigen_G()returns the genetic eigenstructure:values(the variance along each genetic principal axis, descending) andvectors(the genetic principal components, sign-canonicalised so the largest-magnitude element of each is positive).g_max()returns the leading genetic axis: itseigenvalueandeigenvector(the direction of maximum evolvability).mean_evolvability()is the average evolvability over random selection directions,tr(G) / t.evolvability(fit, direction)ise(beta) = beta'G beta(unitbeta): the additive genetic variance available to directional selection alongdirection.variance_along_gradient(fit, direction, normalize)isbeta'G betafor a unitdirection(normalize = TRUE, equal toevolvability()) or for the rawdirection(normalize = FALSE).respondability(fit, direction)is||G beta||: the length of the response.conditional_evolvability(fit, direction)is1 / (beta' G^-1 beta): evolvability when all other directions are held under stabilising selection (requires a positive-definiteG).autonomy(fit, direction)isconditional_evolvability / evolvabilityin[0, 1](requires a positive-definiteG).
These are computed in R from the fitted genetic_covariance(fit) and match
the engine's evolvability.jl definitions (verified by a skip-guarded live
parity test). They are descriptive geometry of the estimated G; they carry
the same experimental, REML-only, not-coverage-calibrated status as the
multivariate fit itself and report no standard errors.