gtools

Functions to assist in R programming

https://github.com/r-gregmisc/gtools

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Functions to assist in R programming

Basic Info
  • Host: GitHub
  • Owner: r-gregmisc
  • Language: R
  • Default Branch: master
  • Size: 471 KB
Statistics
  • Stars: 27
  • Watchers: 6
  • Forks: 6
  • Open Issues: 6
  • Releases: 0
Created over 6 years ago · Last pushed 12 months ago
Metadata Files
Readme Changelog

README.md

gtools R package

Project Status: Active - The project has reached a stable, usable
state and is being actively
developed. R-CMD-check CRAN RStudio mirror
downloads

The gtools R package provides functions to assist in R programming, including:

  • assist in developing, updating, and maintaining R and R packages (ask, checkRVersion, getDependencies, keywords, scat),
  • calculate the logit and inverse logit transformations (logit, inv.logit),
  • test if a value is missing, empty or contains only NA and NULL values (invalid),
  • manipulate R’s .Last function (addLast),
  • define macros (defmacro),
  • detect odd and even integers (odd, even),
  • convert strings containing non-ASCII characters (like single quotes) to plain ASCII (ASCIIfy),
  • perform a binary search (binsearch),
  • sort strings containing both numeric and character components (mixedsort),
  • create a factor variable from the quantiles of a continuous variable (quantcut),
  • enumerate permutations and combinations (combinations, permutations),
  • calculate and convert between fold-change and log-ratio (foldchange, logratio2foldchange, foldchange2logratio),
  • calculate probabilities and generate random numbers from Dirichlet distributions (rdirichlet, ddirichlet),
  • apply a function over adjacent subsets of a vector (running),
  • modify the TCP_NODELAY (de-Nagle) flag for socket objects,
  • efficient rbind of data frames, even if the column names dont match (smartbind`),
  • generate significance stars from p-values (stars.pval),
  • convert characters to/from ASCII codes (asc, chr),
  • convert character vector to ASCII representation (ASCIIfy).
  • apply title capitalization rules to a character vector (capwords)

Installation

You can install the released version of gtools from CRAN with:

r install.packages("gtools")

And the development version from GitHub with:

``` r

install.packages("devtools")

devtools::install_github("r-gregmisc/gtools") ```

Owner

  • Name: r-gregmisc
  • Login: r-gregmisc
  • Kind: organization

GitHub Events

Total
  • Issues event: 4
  • Watch event: 1
  • Issue comment event: 5
  • Push event: 8
  • Pull request event: 2
  • Fork event: 1
Last Year
  • Issues event: 4
  • Watch event: 1
  • Issue comment event: 5
  • Push event: 8
  • Pull request event: 2
  • Fork event: 1

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 171
  • Total Committers: 7
  • Avg Commits per committer: 24.429
  • Development Distribution Score (DDS): 0.637
Past Year
  • Commits: 9
  • Committers: 2
  • Avg Commits per committer: 4.5
  • Development Distribution Score (DDS): 0.111
Top Committers
Name Email Commits
Gregory R Warnes g****g@w****t 62
warnes w****s@4****4 53
Ben Bolker b****r@g****m 27
Greg Warnes G****s@A****m 15
Arni Magnusson t****i@g****m 12
tingjhenjiang 3****g 1
Adrian Edwards 1****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 18
  • Total pull requests: 9
  • Average time to close issues: 7 months
  • Average time to close pull requests: 5 months
  • Total issue authors: 12
  • Total pull request authors: 5
  • Average comments per issue: 1.67
  • Average comments per pull request: 1.22
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 2
  • Average time to close issues: 3 months
  • Average time to close pull requests: 3 days
  • Issue authors: 2
  • Pull request authors: 1
  • Average comments per issue: 2.0
  • Average comments per pull request: 0.5
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • warnes (4)
  • bbolker (3)
  • Jigyasa3 (1)
  • ggrothendieck (1)
  • AndreMikulec (1)
  • DanChaltiel (1)
  • parisashahnazari (1)
  • GitHunter0 (1)
  • RLesur (1)
  • chunhungChou (1)
  • simon-lowe (1)
  • hope-data-science (1)
Pull Request Authors
  • arni-magnusson (3)
  • warnes (2)
  • brooksambrose (1)
  • MoralCode (1)
  • bbolker (1)
  • smoe (1)
  • tingjhenjiang (1)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • cran 133,247 last-month
  • Total docker downloads: 36,000,019
  • Total dependent packages: 341
    (may contain duplicates)
  • Total dependent repositories: 710
    (may contain duplicates)
  • Total versions: 42
  • Total maintainers: 1
cran.r-project.org: gtools

Various R Programming Tools

  • Versions: 35
  • Dependent Packages: 309
  • Dependent Repositories: 685
  • Downloads: 133,247 Last month
  • Docker Downloads: 36,000,019
Rankings
Dependent packages count: 0.4%
Dependent repos count: 0.5%
Downloads: 0.8%
Average: 6.5%
Forks count: 8.8%
Stargazers count: 11.2%
Docker downloads count: 17.3%
Maintainers (1)
Last synced: 11 months ago
conda-forge.org: r-gtools
  • Versions: 7
  • Dependent Packages: 32
  • Dependent Repositories: 25
Rankings
Dependent packages count: 2.1%
Dependent repos count: 7.3%
Average: 28.4%
Stargazers count: 51.8%
Forks count: 52.2%
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • methods * depends
  • stats * depends
  • utils * depends
  • SGP * suggests
  • car * suggests
  • gplots * suggests
  • knitr * suggests
  • rstudioapi * suggests
  • taxize * suggests