From 56a1b8ec3112f741be5e4ee01f3f38025439da3c Mon Sep 17 00:00:00 2001 From: Chris Sobczak Date: Thu, 18 Jun 2026 11:40:17 -0700 Subject: Fix things in readme --- README.Rmd | 7 +++---- README.md | 12 +++--------- man/figures/README-example-1.png | Bin 50206 -> 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 Binary files a/man/figures/README-example-1.png and b/man/figures/README-example-1.png differ -- cgit v1.2.3