speed up internal matrix functions
joelpick opened this issue · 3 comments
joelpick commented
speed up internal matrix functions
joelpick commented
maybe use mvnfast::rmvn its very fast :)
joelpick commented
for predictors with no cov_str, switch to MASS::mvrnorm
or mvnfast::rmvn
, for ped and phylo probably switch to MCMCglmm::rbv
. Problem is dominance and epistasis, and OU models. See what nadiv does for the former.
Not sure how best to do general cor_str - for big matrix, chol
is very slow