[Genabel-commits] r1106 - pkg/GenABEL/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri Feb 22 09:53:11 CET 2013
Author: yurii
Date: 2013-02-22 09:53:10 +0100 (Fri, 22 Feb 2013)
New Revision: 1106
Modified:
pkg/GenABEL/R/polygenic.R
Log:
adding a comment; prepare release of 1.7-4 on CRAN
Modified: pkg/GenABEL/R/polygenic.R
===================================================================
--- pkg/GenABEL/R/polygenic.R 2013-02-14 16:46:21 UTC (rev 1105)
+++ pkg/GenABEL/R/polygenic.R 2013-02-22 08:53:10 UTC (rev 1106)
@@ -571,6 +571,7 @@
a <- sum(log(abs(es))) # logarithm of determinant of sigma as sum of logarithm of eigenvalues
# end new variant
b <- (t(resY) %*% InvSigma_x_residualY)
+# this is -2*lnLikelihood
loglik <- a+b
out$h2an$minimum <- as.vector(loglik)
More information about the Genabel-commits
mailing list