summaryrefslogtreecommitdiff
path: root/README.md
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.md
parent35da8b6a44f74ad2e83297dced24db9a88cebc8c (diff)
Put images next to each other
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 3 insertions, 7 deletions
diff --git a/README.md b/README.md
index 9cc9470..4a1456b 100644
--- a/README.md
+++ b/README.md
@@ -25,15 +25,11 @@ This is a basic example which shows you how to solve a common problem:
``` r
library(csobczak.r)
+library(patchwork)
X <- matrix(data = rnorm(100), nrow = 10)
R <- cor(X)
-corplot(R, title = 'Example Correlation Plot')
-```
-
-<img src="man/figures/README-example-1.png" alt="" width="100%" />
-
-``` r
+corplot(R, title = 'Example Correlation Plot') +
networkplot(R, title = 'Example Network Plot')
```
-<img src="man/figures/README-example-2.png" alt="" width="100%" />
+<img src="man/figures/README-example-1.png" alt="" width="100%" />