get_covbeta: Compute cov(beta) as a Function of varpar of an LMM
Description
At the optimum cov(beta) is available as vcov(lmer-model). This function
computes cov(beta) at non (RE)ML estimates of varpar
.
Usage
get_covbeta(varpar, devfun)
Arguments
varpar
variance parameters; varpar = c(theta, sigma)
.
devfun
deviance function as a function of theta only.
Value
cov(beta) at supplied varpar values.