• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

R/H03-Jun-2021-3,5161,503

data/H03-May-2022-

inst/H01-Jun-2021-1,9821,182

man/H03-Jun-2021-2,3522,020

src/H03-Jun-2021-288191

tests/H31-May-2021-16892

ChangeLogH A D31-May-202129.4 KiB1,417808

DESCRIPTIONH A D06-Jun-20212.1 KiB4241

MD5H A D06-Jun-20214.9 KiB102101

NAMESPACEH A D03-Jun-20211.3 KiB6462

NEWS.mdH A D03-Jun-202111.3 KiB471281

README.mdH A D01-Jun-20212.5 KiB6553

README.md

1
2# gtools R package
3
4<!-- badges: start -->
5
6[![Project Status: Active - The project has reached a stable, usable
7state and is being actively
8developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
9[![R-CMD-check](https://github.com/r-gregmisc/gtools/workflows/R-CMD-check/badge.svg)](https://github.com/r-gregmisc/gtools/actions)
10[![](https://www.r-pkg.org/badges/version/gtools)](https://www.r-pkg.org/pkg/gtools)
11[![CRAN RStudio mirror
12downloads](https://cranlogs.r-pkg.org/badges/gtools)](https://www.r-pkg.org/pkg/gtools)
13
14<!-- badges: end -->
15
16The `gtools` R package provides functions to assist in R programming,
17including:
18
19-   assist in developing, updating, and maintaining R and R packages
20    (`ask`, `checkRVersion`, `getDependencies`, `keywords`, `scat`),
21-   calculate the logit and inverse logit transformations (`logit`,
22    `inv.logit`),
23-   test if a value is missing, empty or contains only NA and NULL
24    values (`invalid`),
25-   manipulate R’s .Last function (`addLast`),
26-   define macros (`defmacro`),
27-   detect odd and even integers (`odd`, `even`),
28-   convert strings containing non-ASCII characters (like single quotes)
29    to plain ASCII (`ASCIIfy`),
30-   perform a binary search (`binsearch`),
31-   sort strings containing both numeric and character components
32    (`mixedsort`),
33-   create a factor variable from the quantiles of a continuous variable
34    (`quantcut`),
35-   enumerate permutations and combinations (`combinations`,
36    `permutation`),
37-   calculate and convert between fold-change and log-ratio
38    (`foldchange`, `logratio2foldchange`, `foldchange2logratio`),
39-   calculate probabilities and generate random numbers from Dirichlet
40    distributions (`rdirichlet`, `ddirichlet`),
41-   apply a function over adjacent subsets of a vector (`running`),
42-   modify the TCP\_NODELAY (`de-Nagle`) flag for socket objects,
43-   efficient `rbind` of data frames, even if the column names
44    don`t match (`smartbind\`),
45-   generate significance stars from p-values (`stars.pval`),
46-   convert characters to/from ASCII codes (`asc`, `chr`),
47-   convert character vector to ASCII representation (`ASCIIfy`).
48-   apply title capitalization rules to a character vector (`capwords`)
49
50## Installation
51
52You can install the released version of gtools from
53[CRAN](https://CRAN.R-project.org) with:
54
55``` r
56install.packages("gtools")
57```
58
59And the development version from [GitHub](https://github.com/) with:
60
61``` r
62# install.packages("devtools")
63devtools::install_github("r-gregmisc/gtools")
64```
65