Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (6.0) of this package.
Take me there.
cwhmisc (version 4.0)
Miscellaneous Functions for math, plotting, printing, statistics, strings, and tools
Description
Miscellaneous useful functions collected over time
Copy Link
Link to current version
Version
Version
6.0
5.0
4.0
3.0
2.1
2.0.1
1.0.4
1.0.3
1.0.0
Install
install.packages('cwhmisc')
Monthly Downloads
110
Version
4.0
License
GPL (>= 2)
Maintainer
Christian Hoffmann
Last Published
January 3rd, 2013
Functions in cwhmisc (4.0)
Search all functions
lpr
Print an object or plot
lowess.bygroup
Plot data in groups, each group with separate lowess smoothing
progress.meter
Monitor the progress of a repetitive calculation.
invgauss
Inverse Gaussian Distribution
libs
List all installed packages, or all functions in a package
astroGeo
Convert geographical coordinates to and from Swiss topo coordinates
T3plot
T3plot
frac
Fractional part of number
delstr
Delete a substring from a string
remove.dup.rows
Remove duplicate rows
convert
Test, convert numbers
seqm
sequences, empty if "by" not conforming
whole.number
Check an array on whole numbers (x in I).
qnorm.appr
Approximation to the inverse normal distribution function.
setPPT
Set PowerPoint style
padding
Padding a string with justification
f.log
Determine an optimized offset s and return log10(data+s).
dt2str
Convert time difference to string.
select.range
Select values from a vector depending on a range in a second vector.
waitReturn
Wait for
astroC
Astronomical constants
scode
Generate the significance codes as in summary.lm
dc
Convert number for table columns, for equations
num.ident
Check numerical values for identity
replacechar
Replace a character in a string by another
cap
Change case of strings
clean.na
Clean a matrix or data frame of rows or columns of containing NA.
cwhmisc-package
A collection of useful functions and constants
num2Latex
Convert numeric containing e+-power
triplot
Ternary or Triangular Plots.
ls.functions
List available functions
numberof
Count the number elements that satisfy a condition.
plt
Plot depending on switch, Create multiple plots with title and time stamp
plotSymbols
Plot symbols, colours, and allow to choose
div.prot
Protected division
pasteRound
Paste rounded values
signp
Sign Function
datetime
Show date and time in ISO format
Halton
Halton's quasi-random numbers
w.median
Weighted median
panel
Alternative panel functions for lattice plots
lengths.angle
Lengths of two vectors and angle between them.
numeric
Number theoretic functions
adaptlob
Numerically evaluate integral using adaptive rules.
delayt
Waiting loop for program execution
ellipse
Generate ellipses
summaryFs
Print extended summary of lm.
pointfit
Least squares fit of point clouds, or the Procrustes problem.
is.constant
is.constant
printP
Print without square brackets, expression values together with their call strings
RCA
Check, build, install package.
FinneyCorr
Finney's correction to log normally distributed data, r-squared and standard deviation of a linear model.
tex.table
Convert a data matrix into LaTeX code.
smoothed.df
Fit cumulative distribution from kernel estimate.
formatFix
Format to a fixed format representation
mult.fig.p
Plot Setup for multiple plot, incl. main title
rotL
Rotation matrix
heading
Write a line of text with underlining and blank lines. Useful for line oriented output.
n22dig
Show vector or matrix (of 0 <= x <=10) in a compact way
Const
Constants
shapiro.wilk.test
Shapiro-Wilk Normality Test
n2c
Show absolute values as characters, prepare for plotting
jitterNA
Jitter vector containing NA
pasteInfix
Paste(infix)
interpol
Polynomial and rational interpolation
eql
Check on equality, including NA==NA and NaN==NaN.
functions
Functions for testing and other
my.table
Tabulate data, with extra rows and columns.
cpos
Find the position of a substring