summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.Rmd3
-rw-r--r--README.md10
-rw-r--r--man/figures/README-example-1.pngbin5520 -> 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')
-```
-
-<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%" />
diff --git a/man/figures/README-example-1.png b/man/figures/README-example-1.png
index 5e43b10..25d492c 100644
--- a/man/figures/README-example-1.png
+++ b/man/figures/README-example-1.png
Binary files differ