[Genabel-commits] r2058 - pkg/RepeatABEL/vignettes
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Aug 18 11:07:22 CEST 2016
Author: larsronn
Date: 2016-08-18 11:07:21 +0200 (Thu, 18 Aug 2016)
New Revision: 2058
Modified:
pkg/RepeatABEL/vignettes/RepeatABEL_vignette.Rnw
Log:
Shortened line in heritability computation
Modified: pkg/RepeatABEL/vignettes/RepeatABEL_vignette.Rnw
===================================================================
--- pkg/RepeatABEL/vignettes/RepeatABEL_vignette.Rnw 2016-08-17 14:39:47 UTC (rev 2057)
+++ pkg/RepeatABEL/vignettes/RepeatABEL_vignette.Rnw 2016-08-18 09:07:21 UTC (rev 2058)
@@ -196,7 +196,7 @@
\begin{codechunk}
<<cache=T, eval=true>>=
cat("Heritability:",
- est.hglm$varRanef[1]/(est.hglm$varFix + est.hglm$varRanef[1] + est.hglm$varRanef[2]),
+ est.hglm$varRanef[1]/(est.hglm$varFix + sum(est.hglm$varRanef)),
"\n")
@
\end{codechunk}
More information about the Genabel-commits
mailing list