summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.Rmd7
-rw-r--r--README.md12
-rw-r--r--man/figures/README-example-1.pngbin50206 -> 51962 bytes
3 files changed, 6 insertions, 13 deletions
diff --git a/README.Rmd b/README.Rmd
index 2633b1e..8ddf423 100644
--- a/README.Rmd
+++ b/README.Rmd
@@ -22,7 +22,7 @@ The goal of csobczak.r is to easily provide convenience functions I find useful.
## Installation
-You can install the development version of rcsobczak like so:
+You can install the development version of csobczak.r like so:
``` r
install.packages('pak')
@@ -33,11 +33,10 @@ pak::pkg_install('git::https://codeberg.org/csobczak/csobczak.r')
### Plotting functions
```{r example}
-library(csobczak.r)
library(patchwork)
X <- matrix(data = rnorm(100), nrow = 10)
R <- cor(X)
-p1 <- heatmap(R, title = 'Example Correlation Plot')
-p2 <- networkplot(R, title = 'Example Network Plot')
+p1 <- csobczak.r::heatmap(R, title = 'Example Correlation Plot')
+p2 <- csobczak.r::networkplot(R, title = 'Example Network Plot')
p1 + p2
```
diff --git a/README.md b/README.md
index 950f68c..c6665cb 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ useful.
## Installation
-You can install the development version of rcsobczak like so:
+You can install the development version of csobczak.r like so:
``` r
install.packages('pak')
@@ -24,17 +24,11 @@ pak::pkg_install('git::https://codeberg.org/csobczak/csobczak.r')
### Plotting functions
``` r
-library(csobczak.r)
-#>
-#> Attaching package: 'csobczak.r'
-#> The following object is masked from 'package:stats':
-#>
-#> heatmap
library(patchwork)
X <- matrix(data = rnorm(100), nrow = 10)
R <- cor(X)
-p1 <- heatmap(R, title = 'Example Correlation Plot')
-p2 <- networkplot(R, title = 'Example Network Plot')
+p1 <- csobczak.r::heatmap(R, title = 'Example Correlation Plot')
+p2 <- csobczak.r::networkplot(R, title = 'Example Network Plot')
p1 + p2
```
diff --git a/man/figures/README-example-1.png b/man/figures/README-example-1.png
index a15dc43..48e165d 100644
--- a/man/figures/README-example-1.png
+++ b/man/figures/README-example-1.png
Binary files differ