diff options
| author | Chris Sobczak <chris@sobczak.family> | 2026-06-18 11:40:17 -0700 |
|---|---|---|
| committer | Chris Sobczak <chris@sobczak.family> | 2026-06-18 11:40:17 -0700 |
| commit | 56a1b8ec3112f741be5e4ee01f3f38025439da3c (patch) | |
| tree | 40341dd2849dd89173aec70a48583bd53e806888 | |
| parent | c9febb74dddab29b7e60488c91564796387f2785 (diff) | |
Fix things in readme
| -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 |
