Miscellaneous Tools


[Up] [Top]

Documentation for package ‘cgwtools’ version 4.1

Help Pages

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