summaryrefslogtreecommitdiff
path: root/README.Rmd
diff options
context:
space:
mode:
authorChris Sobczak <chris@sobczak.family>2026-06-16 17:19:44 -0700
committerChris Sobczak <chris@sobczak.family>2026-06-16 17:19:44 -0700
commit0a3427335bd7d23d22a989cb436a25465ceaf52a (patch)
tree6abceed95dfb92864efc31cae67f22db1d741ae2 /README.Rmd
parent35da8b6a44f74ad2e83297dced24db9a88cebc8c (diff)
Put images next to each other
Diffstat (limited to 'README.Rmd')
-rw-r--r--README.Rmd3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.Rmd b/README.Rmd
index 3aafe24..bf24ff4 100644
--- a/README.Rmd
+++ b/README.Rmd
@@ -35,8 +35,9 @@ This is a basic example which shows you how to solve a common problem:
```{r example}
library(csobczak.r)
+library(patchwork)
X <- matrix(data = rnorm(100), nrow = 10)
R <- cor(X)
-corplot(R, title = 'Example Correlation Plot')
+corplot(R, title = 'Example Correlation Plot') +
networkplot(R, title = 'Example Network Plot')
```