From 0a3427335bd7d23d22a989cb436a25465ceaf52a Mon Sep 17 00:00:00 2001 From: Chris Sobczak Date: Tue, 16 Jun 2026 17:19:44 -0700 Subject: Put images next to each other --- README.Rmd | 3 ++- README.md | 10 +++------- man/figures/README-example-1.png | Bin 5520 -> 49390 bytes 3 files changed, 5 insertions(+), 8 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') ``` 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') -``` - - - -``` r +corplot(R, title = 'Example Correlation Plot') + networkplot(R, title = 'Example Network Plot') ``` - + diff --git a/man/figures/README-example-1.png b/man/figures/README-example-1.png index 5e43b10..25d492c 100644 Binary files a/man/figures/README-example-1.png and b/man/figures/README-example-1.png differ -- cgit v1.2.3