Skip to content

Commit 5843292

Browse files
authored
Remove broken link from README (#340)
* Remove broken link from README * style
1 parent a92c68d commit 5843292

File tree

5 files changed

+13
-12
lines changed

5 files changed

+13
-12
lines changed

R/methods_format.R

+5-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,11 @@ format.easycormatrix <- function(x,
6262

6363
# Round and format values
6464
nums <- sapply(as.data.frame(x), is.numeric)
65-
x[, nums] <- sapply(as.data.frame(x)[, nums], insight::format_value,
66-
digits = digits, zap_small = zap_small, ...)
65+
x[, nums] <- sapply(
66+
as.data.frame(x)[, nums],
67+
insight::format_value,
68+
digits = digits, zap_small = zap_small, ...
69+
)
6770

6871

6972
# Deduct if stars only

README.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ knitr::opts_chunk$set(
2020
)
2121
```
2222

23-
[![DOI](https://joss.theoj.org/papers/10.21105/joss.02306/status.svg)](https://doi.org/10.21105/joss.02306) [![total](https://cranlogs.r-pkg.org/badges/grand-total/correlation)](https://cranlogs.r-pkg.org/) [![status](https://tinyverse.netlify.com/badge/correlation)](https://CRAN.R-project.org/package=correlation)
23+
[![DOI](https://joss.theoj.org/papers/10.21105/joss.02306/status.svg)](https://doi.org/10.21105/joss.02306) [![total](https://cranlogs.r-pkg.org/badges/grand-total/correlation)](https://cranlogs.r-pkg.org/)
2424
<!-- [![downloads](http://cranlogs.r-pkg.org/badges/correlation)](https://cran.r-project.org/package=correlation) -->
2525

2626
`correlation` is an [**easystats**](https://github.com/easystats/easystats) package focused on correlation analysis. It's lightweight, easy to use, and allows for the computation of many different kinds of correlations, such as **partial** correlations, **Bayesian** correlations, **multilevel** correlations, **polychoric** correlations, **biweight**, **percentage bend** or **Sheperd's Pi** correlations (types of robust correlation), **distance** correlation (a type of non-linear correlation) and more, also allowing for combinations between them (for instance, *Bayesian partial multilevel correlation*).

README.md

+7-8
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
[![DOI](https://joss.theoj.org/papers/10.21105/joss.02306/status.svg)](https://doi.org/10.21105/joss.02306)
55
[![total](https://cranlogs.r-pkg.org/badges/grand-total/correlation)](https://cranlogs.r-pkg.org/)
6-
[![status](https://tinyverse.netlify.com/badge/correlation)](https://CRAN.R-project.org/package=correlation)
76
<!-- [![downloads](http://cranlogs.r-pkg.org/badges/correlation)](https://cran.r-project.org/package=correlation) -->
87

98
`correlation` is an
@@ -41,9 +40,9 @@ badge](https://easystats.r-universe.dev/badges/correlation)](https://easystats.r
4140
The *correlation* package is available on CRAN, while its latest
4241
development version is available on R-universe (from *rOpenSci*).
4342

44-
| Type | Source | Command |
45-
|-------------|------------|-------------------------------------------------------------------------------|
46-
| Release | CRAN | `install.packages("correlation")` |
43+
| Type | Source | Command |
44+
|----|----|----|
45+
| Release | CRAN | `install.packages("correlation")` |
4746
| Development | R-universe | `install.packages("correlation", repos = "https://easystats.r-universe.dev")` |
4847

4948
Once you have downloaded the package, you can then load it using:
@@ -203,11 +202,11 @@ correlation(iris, bayesian = TRUE)
203202
##
204203
## Parameter1 | Parameter2 | rho | 95% CI | pd | % in ROPE | Prior | BF
205204
## --------------------------------------------------------------------------------------------------------
206-
## Sepal.Length | Sepal.Width | -0.11 | [-0.27, 0.04] | 92.15% | 42.58% | Beta (3 +- 3) | 0.509
205+
## Sepal.Length | Sepal.Width | -0.11 | [-0.26, 0.04] | 92.53% | 42.52% | Beta (3 +- 3) | 0.509
207206
## Sepal.Length | Petal.Length | 0.86 | [ 0.82, 0.90] | 100%*** | 0% | Beta (3 +- 3) | 2.14e+43***
208-
## Sepal.Length | Petal.Width | 0.81 | [ 0.74, 0.85] | 100%*** | 0% | Beta (3 +- 3) | 2.62e+33***
209-
## Sepal.Width | Petal.Length | -0.41 | [-0.54, -0.28] | 100%*** | 0% | Beta (3 +- 3) | 3.49e+05***
210-
## Sepal.Width | Petal.Width | -0.35 | [-0.50, -0.21] | 100%*** | 0.12% | Beta (3 +- 3) | 5.29e+03***
207+
## Sepal.Length | Petal.Width | 0.81 | [ 0.75, 0.86] | 100%*** | 0% | Beta (3 +- 3) | 2.62e+33***
208+
## Sepal.Width | Petal.Length | -0.41 | [-0.54, -0.27] | 100%*** | 0% | Beta (3 +- 3) | 3.49e+05***
209+
## Sepal.Width | Petal.Width | -0.35 | [-0.48, -0.22] | 100%*** | 0.03% | Beta (3 +- 3) | 5.29e+03***
211210
## Petal.Length | Petal.Width | 0.96 | [ 0.95, 0.97] | 100%*** | 0% | Beta (3 +- 3) | 1.24e+80***
212211
##
213212
## Observations: 150

correlation.Rproj

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
Version: 1.0
2-
ProjectId: a2737226-16da-4377-8659-b462bf604f1e
32

43
RestoreWorkspace: No
54
SaveWorkspace: No

man/figures/README-7-1.png

1.07 KB
Loading

0 commit comments

Comments
 (0)