Package: cgwtools 4.1

Carl Witthoft

cgwtools: Miscellaneous Tools

Functions for performing quick observations or evaluations of data, including a variety of ways to list objects by size, class, etc. The functions 'seqle' and 'reverse.seqle' mimic the base 'rle' but can search for linear sequences. The function 'splatnd' allows the user to generate zero-argument commands without the need for 'makeActiveBinding' . Functions provided to convert from any base to any other base, and to find the n-th greatest max or n-th least min. In addition, functions which mimic Unix shell commands, including 'head', 'tail' ,'pushd' ,and 'popd'. Various other goodies included as well.

Authors:Carl Witthoft

cgwtools_4.1.tar.gz
cgwtools_4.1.tar.gz(r-4.5-noble)cgwtools_4.1.tar.gz(r-4.4-noble)
cgwtools_4.1.tgz(r-4.4-emscripten)cgwtools_4.1.tgz(r-4.3-emscripten)
cgwtools.pdf |cgwtools.html
cgwtools/json (API)

# Install 'cgwtools' in R:
install.packages('cgwtools', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • ascarr - Banner Versions of Characters

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

34 exports 0.09 score 1 dependencies 78 scripts 475 downloads

Last updated 11 months agofrom:da5c747009. Checks:OK: 1 NOTE: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 14 2024
R-4.5-linuxNOTESep 14 2024

Exports:!approxeqaskrmbanvaxbinitcumfundimdirdirfindpatgetstackinverse.seqlelsclasslsdatalssizelstypemaxColmaxnmaxRowminColminnminRowmystatpolyIntpopdpushdratRootresavesegSegIntseqleshortthekurttheskewwhich.maxnwhich.minn

Dependencies:gmp

Readme and manuals

Help Manual

Help pageTopics
A collection of tools that the author finds handycgwtools-package cgwtools
Do "fuzzy" equality and return a logical vector.approxeq
Banner Versions of Charactersascarr
Interactive application of selected function a list of objects.askrm
Function print a text banner in the style of the original DEC VAX "banner" function.banvax
Function to convert any base to any other base (up to 36).base2base
Create histogram bins for each unique value in a sample.binit
Function calculate the cumulative result of any function along an input vector.cumfun
Function to return dimensions of arguments, or lengths if dim==NULL.dim
Wrapper function around dir() which returns only directories found in the specified location(s).dirdir
Function to locate patterns ( sequences of strings or numerical values) in data vectors.findpat
Returns the current directory stack that pushd and popd manipulategetstack
Inverse of 'seqle'inverse.seqle
Q&D function to list all objects with the specified 'class attribute' .lsclass
List all objects in an '.Rdata' file.lsdata
List the sizes of all selected objects.lssize
List all objects of the specified type.lstype
Functions to find the n-th maximum or minimum of a vector or array.maxn minn which.maxn which.minn
Functions which mimic 'max.col' to find for minimum or maximum of rows or columns.maxCol maxRow minCol minRow
Calculate and display basic statistics for an object.mystat
Function to find intersection points of two polygons.polyInt
Performs equivalent of 'bash' command with same namepopd
Performs equivalent of 'bash' command with same namepushd
Function to find the rational roots of any polynomial (when they exist).ratRoot
Add some objects to an existing '.Rdata' - type file.resave
Function to find intersection point between two line segments (NOT lines).segSegInt
Extends 'rle' to find and encode linear sequences.seqle
Returns a small sample of the specified data set.short
Execute simple zero-argument functions! splatnd
Calculates the kurtosis of the input data set.thekurt
Calculates the skew of a dataset.theskew