Miscellaneous Functions for Math, Plotting, Printing, Statistics, Strings, and Tools


[Up] [Top]

Documentation for package ‘cwhmisc’ version 6.0

Help Pages

A C D E F G H I J L M N O P Q R S T V W X Y Z misc

cwhmisc-package A collection of useful functions and constants

-- A --

adaptlob Numerically evaluate integral using adaptive rules.
adaptsim Numerically evaluate integral using adaptive rules.
allDigits Test, convert numbers
angle convert coordinates, angles, simple vector operations
ASCII Constants
availColors Plot symbols, colours, and allow to choose

-- C --

c38 Constants
c3Q Constants
cAE Astronomical constants
cap Change case of strings
capitalize Change case of strings
CapLeading Change case of strings
capply Change case of strings
catn Print without square brackets, expression values together with their call strings
cC Astronomical constants
cDAYPJULCENT Astronomical constants
cDAYPMONSID Astronomical constants
cDAYPMONSYN Astronomical constants
cDAYPYEARSID Astronomical constants
cDAYPYEARTROP Astronomical constants
cEPSOBL Astronomical constants
charMat Show absolute values as characters, prepare for plotting
chsvd Functions for testing and other
cJDJ2000 Astronomical constants
cK Astronomical constants
clean.na Clean a matrix or data frame of rows or columns of containing NA.
ClockSense2 Functions for directed arcs
ClockSense3 Functions for directed arcs
Clockwise Functions for directed arcs
cMY Astronomical constants
conf.ellipse Generate ellipses
contfrac Fractional part of number, continuous fractions
CounterClock Functions for directed arcs
cpos Find the position of a substring
cposR Find the position of a substring
cPRECESS Astronomical constants
cRE Astronomical constants
cSBYE Astronomical constants
cSBYEMY Astronomical constants
cSBYJU Astronomical constants
cSBYMA Astronomical constants
cSBYME Astronomical constants
cSBYNE Astronomical constants
cSBYPL Astronomical constants
cSBYSA Astronomical constants
cSBYUR Astronomical constants
cSBYVE Astronomical constants
cSIDBYSOL Astronomical constants
cSOLBYSID Astronomical constants
cwhmisc A collection of useful functions and constants
cwhmisc-internal Functions not to be called directliy by the user.

-- D --

Dat2Jul calender conversions
datetime Show date and time in ISO format
DAYINMONTH Astronomical constants
dc Convert number for table columns, for equations
dcn Convert number for table columns, for equations
Ddim dim of vectors and arrays
deg Convert and reduce arcs
delayt Waiting loop for program execution
delstr Delete a substring from a string
dinvgauss Inverse Gaussian Distribution
div.prot Protected division
divmod Functions for testing and other
Dnames calender conversions
DPY Astronomical constants
dsm Functions for testing and other
dt2str Convert time difference to string.

-- E --

ellipse1 Generate ellipses
eql Check on equality, including NA==NA and NaN==NaN.
equal Functions for testing and other
equalFuzzy Functions for testing and other
Eratosthenes Create primes, factor an integer, combine factors, check if prime
Euclid Number theoretic functions
EulerPhi Number theoretic functions
evalcfr Fractional part of number, continuous fractions
evalInterp Polynomial and rational interpolation
explainLegend Show absolute values as characters, prepare for plotting

-- F --

f.log Determine an optimized offset s and return log10(data+s).
factorN Create primes, factor an integer, combine factors, check if prime
FC.lm Finney's correction to log normally distributed data, r-squared and standard deviation of a linear model.
FinneyCorr Finney's correction to log normally distributed data, r-squared and standard deviation of a linear model.
formatFix Format to a fixed format representation
frac Fractional part of number, continuous fractions

-- G --

gcd Number theoretic functions
getAp convert coordinates, angles, simple vector operations
GreatestIntAsRealF Constants
grepnot Grep utility

-- H --

Halton Halton's quasi-random numbers
Hd convert hours
Hdms convert hours
HexDig Constants
histRCT Plot depending on switch, Create multiple plots with title and time stamp
Hms convert hours
Hmsd convert hours
HS247 Halton's quasi-random numbers

-- I --

indexLine Show absolute values as characters, prepare for plotting
inrange Functions for testing and other
int Fractional part of number, continuous fractions
intToASCII convert integers, string to integer wector
intToBase convert integers, string to integer wector
intToHex convert integers, string to integer wector
intToOct convert integers, string to integer wector
Inv Number theoretic functions
is.constant is.constant
is.prime Create primes, factor an integer, combine factors, check if prime
IsCounterCl2 Functions for directed arcs
IsCounterCl3 Functions for directed arcs
isNumeric Test, convert numbers

-- J --

jitterNA Jitter vector containing NA
Jul2Dat calender conversions

-- L --

LatBerne Convert geographical coordinates to and from Swiss topo coordinates
LB2MK Convert geographical coordinates to and from Swiss topo coordinates
LB2YX Convert geographical coordinates to and from Swiss topo coordinates
libs List all installed packages, or all functions in a package
LongBerne Convert geographical coordinates to and from Swiss topo coordinates
lower Change case of strings
lowerize Change case of strings
lowess.bygroup Plot data in groups, each group with separate lowess smoothing
lpr Print an object
ls.functions List available functions
lV convert coordinates, angles, simple vector operations

-- M --

mdiny calender conversions
minInterp Polynomial and rational interpolation
Mnames calender conversions
mod Functions for testing and other
modexp Number theoretic functions
modR Functions for testing and other
modS Functions for testing and other
monthsN calender conversions
mpf Convert number for table columns, for equations
mult.fig.p Plot Setup for multiple plot, incl. main title
my.table.margin Tabulate data, with extra rows and columns.
my.table.NA Tabulate data, with extra rows and columns.
mydate Show date and time in ISO format
mytime Show date and time in ISO format

-- N --

n22dig Show vector or matrix (of 0 <= x <=10) in a compact way
n2c Show absolute values as characters, prepare for plotting
n2cCompact Show absolute values as characters, prepare for plotting
NoneClock Functions for directed arcs
normalize base power and multiplier
NprinE Print without square brackets, expression values together with their call strings
NprinL Print without square brackets, expression values together with their call strings
NprinM Print without square brackets, expression values together with their call strings
NprinP Print without square brackets, expression values together with their call strings
NprinT Print without square brackets, expression values together with their call strings
NprinV Print without square brackets, expression values together with their call strings
num.ident Check numerical values for identity
num2Latex Convert numeric containing e+-power
numberof Count the number elements that satisfy a condition.

-- O --

one Functions for testing and other
onebyx Functions for testing and other

-- P --

padding Padding a string with justification
panel.cor Alternative panel functions for lattice plots
panel.hist Alternative panel functions for lattice plots
pasteRound Paste rounded values
pinvgauss Inverse Gaussian Distribution
plotSymbols Plot symbols, colours, and allow to choose
plotSymbolsFonts Plot symbols, colours, and allow to choose
pltCharMat Plot depending on switch, Create multiple plots with title and time stamp
pltRCT Plot depending on switch, Create multiple plots with title and time stamp
pn Print without square brackets, expression values together with their call strings
pointfit Least squares fit of point clouds, or the 'Procrustes' problem.
powr Functions for testing and other
PRIMES Create primes, factor an integer, combine factors, check if prime
primes Create primes, factor an integer, combine factors, check if prime
prinE Print without square brackets, expression values together with their call strings
prinL Print without square brackets, expression values together with their call strings
prinM Print without square brackets, expression values together with their call strings
prinP Print without square brackets, expression values together with their call strings
prinT Print without square brackets, expression values together with their call strings
printP Print without square brackets, expression values together with their call strings
prinV Print without square brackets, expression values together with their call strings
prodN Create primes, factor an integer, combine factors, check if prime
progress.meter Monitor the progress of a repetitive calculation.

-- Q --

qinvgauss Inverse Gaussian Distribution
qnorm.ap16 Approximation to the inverse normal distribution function.
qnorm.app3 Approximation to the inverse normal distribution function.
qnorm.app4 Approximation to the inverse normal distribution function.
quadmin Polynomial and rational interpolation
quotmean Functions for testing and other

-- R --

R2.lm Finney's correction to log normally distributed data, r-squared and standard deviation of a linear model.
rad Convert and reduce arcs
RCA Check, build, install package in a unified manner.
reda Convert and reduce arcs
reda2 Convert and reduce arcs
remove.dup.rows Remove duplicate rows
replacechar Replace a character in a string by another
rinvgauss Inverse Gaussian Distribution
rotA convert coordinates, angles, simple vector operations
rotL convert coordinates, angles, simple vector operations
rotV convert coordinates, angles, simple vector operations
rotZ convert coordinates, angles, simple vector operations

-- S --

s.lm Finney's correction to log normally distributed data, r-squared and standard deviation of a linear model.
safeDiv Functions for testing and other
scm Number theoretic functions
scode Generate the significance codes as in summary.lm
scprod convert coordinates, angles, simple vector operations
select.range Select values from a vector depending on a range in a second vector.
seqm sequences, empty if "by" not conforming
setupInterp Polynomial and rational interpolation
shapiro.wilk.test Shapiro-Wilk Normality Test
signp Sign Function
smoothed.df Fit cumulative distribution from kernel estimate.
solveQeq Functions for testing and other
SplomT Plot depending on switch, Create multiple plots with title and time stamp
sqr Functions for testing and other
str2dig Test, convert numbers
submod Functions for testing and other
summaryFs Finney's correction to log normally distributed data, r-squared and standard deviation of a linear model.

-- T --

T3plot T3plot
TAU Constants
tex.tab0 Convert a data matrix into LaTeX code.
tex.table Convert a data matrix into LaTeX code.
toCFrac Fractional part of number, continuous fractions
toCFrac2 Fractional part of number, continuous fractions
toPol convert coordinates, angles, simple vector operations
toRec convert coordinates, angles, simple vector operations
toSph convert coordinates, angles, simple vector operations
toXyz convert coordinates, angles, simple vector operations
triplot Ternary or Triangular Plots.

-- V --

vecprod convert coordinates, angles, simple vector operations

-- W --

w.median Weighted median
waitReturn Wait for <Return>
Wday calender conversions
whole.number Check an array on whole numbers (x in I).

-- X --

xToBase Test, convert numbers
xToNorthBerne Convert geographical coordinates to and from Swiss topo coordinates

-- Y --

Yday calender conversions
yToEastBerne Convert geographical coordinates to and from Swiss topo coordinates
YX2LB Convert geographical coordinates to and from Swiss topo coordinates
YX2MK Convert geographical coordinates to and from Swiss topo coordinates

-- Z --

zero Functions for testing and other

-- misc --

%+% Paste(infix)
%s% convert coordinates, angles, simple vector operations
%v% convert coordinates, angles, simple vector operations
.adaptlobstp Functions not to be called directliy by the user.
.adaptsimstp Functions not to be called directliy by the user.