Learn R Programming

⚠️There's a newer version (4.1) of this package.Take me there.

cgwtools (version 3.2)

Miscellaneous Tools

Description

Functions for performing quick observations or evaluations of data, including a variety of ways to list objects by size, class, etc. In addition, functions which mimic Unix shell commands, including 'head', 'tail' ,'pushd' ,and 'popd'. 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' .

Copy Link

Version

Install

install.packages('cgwtools')

Monthly Downloads

312

Version

3.2

License

LGPL-3

Maintainer

Carl Witthoft

Last Published

September 7th, 2020

Functions in cgwtools (3.2)

lsclass

Q&D function to list all objects with the specified class attribute .
binit

Create histogram bins for each unique value in a sample.
lstype

List all objects of the specified type.
cgwtools-package

A collection of tools that the author finds handy
mystat

Calculate and display basic statistics for an object.
dim

Function to return dimensions of arguments, or lengths if dim==NULL.
polyInt

Function to find intersection points of two polygons.
minRow

Functions which mimic max.col to find for minimum or maximum of rows or columns.
theskew

Calculates the skew of a dataset.
short

Returns a small sample of the specified data set.
lssize

List the sizes of all selected objects.
lsdata

List all objects in an .Rdata file.
seqle

Extends rle to find and encode linear sequences.
dirdir

Wrapper function around dir() which returns only directories found in the specified location(s).
findpat

Function to locate patterns ( sequences of strings or numerical values) in data vectors.
getstack

Returns the current directory stack that pushd and popd manipulate
approxeq

Do "fuzzy" equality and return a logical vector.
popd

Performs equivalent of bash command with same name
askrm

Interactive application of selected function a list of objects.
pushd

Performs equivalent of bash command with same name
thekurt

Calculates the kurtosis of the input data set.
splatnd

Execute simple zero-argument functions
segSegInt

Function to find intersection point between two line segments (NOT lines).
resave

Add some objects to an existing .Rdata - type file.
inverse.seqle