summaryrefslogtreecommitdiff
path: root/README.md
blob: 950f68c93b4eea9984daac32a8f4a8a3fe61f528 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

<!-- README.md is generated from README.Rmd. Please edit that file -->

# csobczak.r

<!-- badges: start -->

<!-- badges: end -->

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:

``` r
install.packages('pak')
pak::pkg_install('git::https://codeberg.org/csobczak/csobczak.r')
```

## Example

### 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 + p2
```

<img src="man/figures/README-example-1.png" alt="" width="100%" />