gtools3.9.5 package

Various R Programming Tools

asc

Convert between characters and ASCII codes

ASCIIfy

Convert Characters to ASCII

ask

Display a prompt and collect the user's response

baseOf

Transform an integer to an array of base-n digits

binsearch

Binary Search

capwords

Capitalize Words for Titles

checkRVersion

Check if a newer version of R is available

combinations

Enumerate the Combinations or Permutations of the Elements of a Vector

defmacro

Define a macro

dirichlet

Functions for the Dirichlet Distribution

foldchange

Compute fold-change or convert between log-ratio and fold-change.

getDependencies

Get package dependencies

gtools-defunct

Defunct Functions in package gtools

gtools-deprecated

Deprecated Functions in the gtools package

gtools

gtools: Various R Programming Tools

invalid

Test if a value is missing, empty, contains only NA or NULL values, or...

keywords

List valid keywords for R man pages

lastAdd

Non-destructively construct a .Last function to be executed when R exi...

loadedPackages

Provide Name, Version, and Path of Loaded Package Namespaces

logit

Generalized logit and inverse logit function

mixedsort

Order or Sort strings with embedded numbers so that the numbers are in...

na.replace

Replace Missing Values

oddeven

Detect odd/even integers

permute

Randomly Permute the Elements of a Vector

quantcut

Create a Factor Variable Using the Quantiles of a Continuous Variable

roman2int

Convert Roman Numerals to Integers

running

Apply a Function Over Adjacent Subsets of a Vector

scat

Display debugging text

script_file

Determine the directory or full path to the currently executing script

setTCPNoDelay

Modify the TCP_NODELAY (`de-Nagle') flag for socket objects

smartbind

Efficient rbind of data frames, even if the column names don't match

split_path

Split a File Path into Components

stars.pval

Generate significance stars from p-values

stat_mode

Most frequently occurring value

unByteCode

Convert a byte-code function to an interpreted-code function

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', 'permutation'), - 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 don't 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').

  • Maintainer: Ben Bolker
  • License: GPL-2
  • Last published: 2023-11-20