diff options
| author | Chris Sobczak <chris@sobczak.family> | 2026-06-16 17:22:33 -0700 |
|---|---|---|
| committer | Chris Sobczak <chris@sobczak.family> | 2026-06-16 17:22:33 -0700 |
| commit | e39d856d5cc8479c580a57a62520f2ca32d43565 (patch) | |
| tree | 82a4fdb4a3d2876bc8930abfa4df27b625b61c59 | |
| parent | 0a3427335bd7d23d22a989cb436a25465ceaf52a (diff) | |
Fix side by side
| -rw-r--r-- | README.Rmd | 8 | ||||
| -rw-r--r-- | README.md | 7 | ||||
| -rw-r--r-- | man/figures/README-example-1.png | bin | 49390 -> 48834 bytes |
3 files changed, 8 insertions, 7 deletions
@@ -31,13 +31,13 @@ pak::pkg_install('git::https://codeberg.org/csobczak/csobczak.r') ## Example -This is a basic example which shows you how to solve a common problem: - +### Plotting functions ```{r example} library(csobczak.r) library(patchwork) X <- matrix(data = rnorm(100), nrow = 10) R <- cor(X) -corplot(R, title = 'Example Correlation Plot') + -networkplot(R, title = 'Example Network Plot') +p1 <- corplot(R, title = 'Example Correlation Plot') +p2 <- networkplot(R, title = 'Example Network Plot') +p1 + p2 ``` @@ -21,15 +21,16 @@ pak::pkg_install('git::https://codeberg.org/csobczak/csobczak.r') ## Example -This is a basic example which shows you how to solve a common problem: +### Plotting functions ``` r library(csobczak.r) library(patchwork) X <- matrix(data = rnorm(100), nrow = 10) R <- cor(X) -corplot(R, title = 'Example Correlation Plot') + -networkplot(R, title = 'Example Network Plot') +p1 <- corplot(R, title = 'Example Correlation Plot') +p2 <- networkplot(R, title = 'Example Network Plot') +p1 + p2 ``` <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 Binary files differindex 25d492c..a5e59b1 100644 --- a/man/figures/README-example-1.png +++ b/man/figures/README-example-1.png |
