Miscellaneous Functions for math, plotting, printing, statistics, strings, and tools


[Up] [Top]

Documentation for package ‘cwhmisc’ version 4.0

Help Pages

A C D E F G H I J L M N O P Q R S T 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
ASCII Constants
availColors Plot symbols, colours, and allow to choose

-- C --

c1BYPI Constants
c1BYSQRTPI Constants
c2BYPI Constants
c2BYSQRTPI Constants
c2PI 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
cE Constants
cEPSOBL Astronomical constants
charMat Show absolute values as characters, prepare for plotting
cJDJ2000 Astronomical constants
cK Astronomical constants
clean.na Clean a matrix or data frame of rows or columns of containing NA.
cLN10 Constants
cLN2 Constants
ClockSense2 Functions for testing and other
ClockSense3 Functions for testing and other
Clockwise Functions for testing and other
cLOCKWISE Constants
cLOG10E Constants
cLOG2E Constants
cMAXREALBY38 Constants
cMAXREALBY3Q Constants
cMY Astronomical constants
conf.ellipse Generate ellipses
contfrac Test, convert numbers
CounterClock Functions for testing and other
cPIBY2 Constants
cPIBY4 Constants
cpos 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
cSQRT2 Constants
cSQRT2BY2 Constants

-- D --

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
Degree Test, convert numbers
delayt Waiting loop for program execution
delstr Delete a substring from a string
dinvgauss Inverse Gaussian Distribution
div.prot Protected division
DPY Astronomical constants
dt2str Convert time difference to string.

-- E --

ellipse Generate ellipses
eql Check on equality, including NA==NA and NaN==NaN.
equal Functions for testing and other
equalFuzzy Functions for testing and other
EuclidExtended Number theoretic functions
EulerPhi Number theoretic functions
evalcfr Test, convert numbers
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).
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

-- G --

gcd Number theoretic functions
GreatestIntAsRealF Constants

-- H --

Halton Halton's quasi-random numbers
Hd Test, convert numbers
Hdms Test, convert numbers
heading Write a line of text with underlining and blank lines. Useful for line oriented output.
HexDig Constants
histRCT Plot depending on switch, Create multiple plots with title and time stamp
Hms Test, convert numbers
Hmsd Test, convert numbers
HS247 Halton's quasi-random numbers

-- I --

indexLine Show absolute values as characters, prepare for plotting
inrange Functions for testing and other
int Test, convert numbers
intToASCII Test, convert numbers
intToBase Test, convert numbers
intToHex Test, convert numbers
intToOct Test, convert numbers
is.constant is.constant
IsCounterCl2 Functions for testing and other
IsCounterCl3 Functions for testing and other
isNumeric Test, convert numbers

-- J --

jitterNA Jitter vector containing NA

-- 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
lengths.angle Lengths of two vectors and angle between them.
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 or plot
ls.functions List available functions

-- M --

minInterp Polynomial and rational interpolation
modexp Number theoretic functions
modulo Functions for testing and other
moduloSymm Functions for testing and other
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 testing and other
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
pasteInfix Paste(infix)
pasteRound Paste rounded values
pdfc Print an object or plot
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 Constants
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
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.
Radian Test, convert numbers
RC Check, build, install package.
RCA Check, build, install package.
ReduceArc Test, convert numbers
ReduceArc2 Test, convert numbers
remove.dup.rows Remove duplicate rows
replacechar Replace a character in a string by another
rinvgauss Inverse Gaussian Distribution
rotaP Rotation matrix
rotL Rotation matrix
rotPz Rotation matrix

-- 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
select.range Select values from a vector depending on a range in a second vector.
seqm sequences, empty if "by" not conforming
setPPT Set PowerPoint style
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
spacC Constants
SplomT Plot depending on switch, Create multiple plots with title and time stamp
sqr Functions for testing and other
str2dig Test, convert numbers
substring.location Find the position of a substring
summaryFs Print extended summary of lm.

-- T --

T3plot T3plot
tex.tab0 Convert a data matrix into LaTeX code.
tex.table Convert a data matrix into LaTeX code.
toFrac Test, convert numbers
ToPolar Test, convert numbers
ToRect Test, convert numbers
trigrid Ternary or Triangular Plots.
triplot Ternary or Triangular Plots.

-- W --

w.median Weighted median
waitReturn Wait for <Return>
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
XXXadaptlobstp Numerically evaluate integral using adaptive rules.
XXXadaptsimstp Numerically evaluate integral using adaptive rules.
XXXcl Change case of strings

-- Y --

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)