diff options
| -rw-r--r-- | README.Rmd | 7 | ||||
| -rw-r--r-- | README.md | 12 | ||||
| -rw-r--r-- | man/figures/README-example-1.png | bin | 50206 -> 51962 bytes |
3 files changed, 6 insertions, 13 deletions
@@ -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 ``` @@ -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 Binary files differindex a15dc43..48e165d 100644 --- a/man/figures/README-example-1.png +++ b/man/figures/README-example-1.png |
