From 9dff95f1362ae91180299862f2d5bf77a3d4f4d4 Mon Sep 17 00:00:00 2001 From: Michael McLaren Date: Thu, 11 Feb 2021 07:26:38 -0500 Subject: [PATCH] Use variable for number of covariates --- vignettes/orthus.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vignettes/orthus.Rmd b/vignettes/orthus.Rmd index 4b664af..fc8cbe2 100644 --- a/vignettes/orthus.Rmd +++ b/vignettes/orthus.Rmd @@ -134,7 +134,7 @@ state that our mean for $\Lambda$ is centered about $\mathbf{0}$ and that the si ```{r} Gamma <- diag(Q) -Theta <- matrix(0, D-1+P, 1) +Theta <- matrix(0, D-1+P, Q) ``` @@ -226,4 +226,4 @@ and taxa you really care about and if you can, isolate your analyses to those. Alright, that's probably enough philosophizing for an R package Vignette. I hope you enjoy *orthus*. -# References \ No newline at end of file +# References