|
|
@@ -6,6 +6,8 @@ Status](https://travis-ci.org/desctable/desctable.svg?branch=master)](https://tr |
|
|
|
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/desctable)](https://cran.r-project.org/package=desctable) |
|
|
|
[![CRAN RStudio mirror |
|
|
|
downloads](http://cranlogs.r-pkg.org/badges/desctable)](https://www.r-pkg.org:443/pkg/desctable) |
|
|
|
[![CRAN RStudio mirror total |
|
|
|
downloads](http://cranlogs.r-pkg.org/badges/grand-total/desctable)](https://www.r-pkg.org:443/pkg/desctable) |
|
|
|
|
|
|
|
**Warning to existing users** |
|
|
|
*This version introduces a new API that should make the creation of |
|
|
@@ -104,22 +106,22 @@ mtcars %>% |
|
|
|
desc_output("pander") |
|
|
|
``` |
|
|
|
|
|
|
|
| | am = manual</br> (N = 13)</br> N | % | Median | IQR | am = automatic</br> (N = 19)</br> N | % | Median | IQR | p | test | |
|
|
|
|:-------------|:---------------------------------|:----|:-------|:-----|:------------------------------------|:----|:-------|:-----|:-------|:------------| |
|
|
|
| mpg | 13 | | 23 | 9.4 | 19 | | 17 | 4.2 | ≤ 0.01 | wilcox.test | |
|
|
|
| **cyl** | 13 | | | | 19 | | | | ≤ 0.01 | fisher.test | |
|
|
|
| 4 | 8 | 62 | | | 3 | 16 | | | | | |
|
|
|
| 6 | 3 | 23 | | | 4 | 21 | | | | | |
|
|
|
| 8 | 2 | 15 | | | 12 | 63 | | | | | |
|
|
|
| disp | 13 | | 120 | 81 | 19 | | 276 | 164 | ≤ 0.01 | wilcox.test | |
|
|
|
| hp | 13 | | 109 | 47 | 19 | | 175 | 76 | 0.046 | wilcox.test | |
|
|
|
| drat | 13 | | 4.1 | 0.37 | 19 | | 3.1 | 0.63 | ≤ 0.01 | wilcox.test | |
|
|
|
| wt | 13 | | 2.3 | 0.84 | 19 | | 3.5 | 0.41 | ≤ 0.01 | wilcox.test | |
|
|
|
| qsec | 13 | | 17 | 2.1 | 19 | | 18 | 2 | 0.27 | wilcox.test | |
|
|
|
| **vs** | 13 | | | | 19 | | | | 0.56 | chisq.test | |
|
|
|
| V-shaped | 6 | 46 | | | 12 | 63 | | | | | |
|
|
|
| straight | 7 | 54 | | | 7 | 37 | | | | | |
|
|
|
| gear | 13 | | 4 | 1 | 19 | | 3 | 0 | ≤ 0.01 | wilcox.test | |
|
|
|
| carb | 13 | | 2 | 3 | 19 | | 3 | 2 | 0.74 | wilcox.test | |
|
|
|
| | am = manual</br> (N = 13)</br> N | % | Median | IQR | am = automatic</br> (N = 19)</br> N | % | Median | IQR | p | test | |
|
|
|
|:-------------|:---------------------------------|:----|:-------|:-----|:------------------------------------|:----|:-------|:-----|:--------|:------------| |
|
|
|
| mpg | 13 | | 23 | 9.4 | 19 | | 17 | 4.2 | \< 0.01 | wilcox.test | |
|
|
|
| **cyl** | 13 | | | | 19 | | | | \< 0.01 | fisher.test | |
|
|
|
| 4 | 8 | 62 | | | 3 | 16 | | | | | |
|
|
|
| 6 | 3 | 23 | | | 4 | 21 | | | | | |
|
|
|
| 8 | 2 | 15 | | | 12 | 63 | | | | | |
|
|
|
| disp | 13 | | 120 | 81 | 19 | | 276 | 164 | \< 0.01 | wilcox.test | |
|
|
|
| hp | 13 | | 109 | 47 | 19 | | 175 | 76 | 0.046 | wilcox.test | |
|
|
|
| drat | 13 | | 4.1 | 0.37 | 19 | | 3.1 | 0.63 | \< 0.01 | wilcox.test | |
|
|
|
| wt | 13 | | 2.3 | 0.84 | 19 | | 3.5 | 0.41 | \< 0.01 | wilcox.test | |
|
|
|
| qsec | 13 | | 17 | 2.1 | 19 | | 18 | 2 | 0.27 | wilcox.test | |
|
|
|
| **vs** | 13 | | | | 19 | | | | 0.56 | chisq.test | |
|
|
|
| V-shaped | 6 | 46 | | | 12 | 63 | | | | | |
|
|
|
| straight | 7 | 54 | | | 7 | 37 | | | | | |
|
|
|
| gear | 13 | | 4 | 1 | 19 | | 3 | 0 | \< 0.01 | wilcox.test | |
|
|
|
| carb | 13 | | 2 | 3 | 19 | | 3 | 2 | 0.74 | wilcox.test | |
|
|
|
|
|
|
|
Read more in the [vignette](articles/desctable.html) ! |