# Utilities from 'Seminar fuer Statistik' ETH Zurich

## Documentation for package ‘sfsmisc’ version 1.1-12

- DESCRIPTION file.
- Code demos. Use demo() to run them.
- Package NEWS.

## Help Pages

A B C D E F H I K L M N P Q R S T U V W X

## -- A --

as.intBase | Digit/Bit Representation of Integers in any Base
as.integer.basedInt | Digit/Bit Representation of Integers in any Base
AsciiToInt | Character to and from Integer Codes Conversion
axTexpr | Axis Ticks Expressions in Nice 10 ** k Form

## -- B --

bi2int | Digit/Bit Representation of Integers in any Base
bl.string | Make Simple String from Repeating a Character, e.g. Blank String

## -- C --

C.Monatsname | Datum und Uhrzeit (auf deutsch)
C.weekday | Datum und Uhrzeit (auf deutsch)
C.Wochentag | Datum und Uhrzeit (auf deutsch)
C.Wochentagkurz | Datum und Uhrzeit (auf deutsch)
cairoSwd | Cairo PDF Graphics Device useful for Sweave
capture.and.write | Capture output and Write / Print First and Last Parts
ccat | Paste Utilities - Concatenate Strings
chars8bit | Character to and from Integer Codes Conversion
code2n | Convert "Round" Integers to Short Strings and Back
col01scale | Matrix Scaling Utilities
colcenter | Matrix Scaling Utilities
compresid2way | Plot Components + Residuals for Two Factors
cum.Vert.funkt | Kumulative Verteilung Aufzeichnen

## -- D --

D1D2 | Numerical Derivatives of (x,y) Data via Smoothing Splines
D1ss | Numerical Derivatives of (x,y) Data (via Smoothing Splines)
D1tr | Numerical Derivatives of (x,y) Data (via Smoothing Splines)
D2ss | Numerical Derivatives of (x,y) Data (via Smoothing Splines)
dDA | Diagonal Discriminant Analysis
diagDA | Diagonal Discriminant Analysis
diagX | The "Other" Diagonal Matrix
digitsBase | Digit/Bit Representation of Integers in any Base
Duplicated | Counting-Generalization of duplicated()

## -- E --

eaxis | Extended / Engineering Axis for Graphics
ecdf.ksCI | Plot Empirical Distribution Function With 95% Confidence Curves
ellipsePoints | Compute Radially Equispaced Points on Ellipse
empty.dimnames | Empty Dimnames of an Array
errbar | Scatter Plot with Error Bars

## -- F --

f.robftest | Robust F-Test: Wald test for multiple coefficients of rlm() Object.
factorize | Prime Factorization of Integers
funEnv | List-like Environment of Functions (and More)

## -- H --

hatMat | Hat Matrix of a Smoother
helppdf | help() Type="pdf" and View It
histBxp | Plot a Histogram and a Boxplot

## -- I --

ichar | Character to and from Integer Codes Conversion
integrate.xy | Cheap Numerical Integration through Data points.
inv.seq | Inverse seq() - Short Expression for Index Vector
is.whole | Test Whether a Vector or Array Consists of Whole Numbers
isRshared | Extended Information About the Current R Session
iterate.lin.recursion | Generate Sequence Iterating a Linear Recursion

## -- K --

KSd | Approximate Critical Values for Kolmogorov-Smirnov's D

## -- L --

last | Get Last Elements of a Vector
linesHyperb.lm | Plot Confidence or Prediction Hyperbolas around a Regression Line
loessDemo | Graphical Interactive Demo of loess()
lseq | Generate Sequences, Equidistant on Log Scale

## -- M --

margin2table | Add and Print Marginals for 2-way Contingency Tables
mat2tex | Produce LaTeX commands to print a matrix
missingCh | Has a Formal Argument been Set or is it Missing?
mpl | Simple Matrix Plots
mult.fig | Plot Setup for MULTiple FIGures, incl. Main Title

## -- N --

n.code | Convert "Round" Integers to Short Strings and Back
n.plot | Name Plot: Names or Numbers instead of Points in Plot
nearcor | Find the Nearest Proper Correlation Matrix
nr.sign.chg | Number of Sign Changes in Sequence

## -- P --

p.arrows | Prettified Arrows Plots
p.datum | Plot 'Datum' (deutsch!) unten rechts
p.dchisq | Plot Parametric Density Functions
p.dgamma | Plot Parametric Density Functions
p.dnorm | Plot Parametric Density Functions
p.hboxp | Add a Horizontal Boxplot to the Current Plot
p.m | Simple Matrix Plots
p.profileTraces | Plot a profile.nls Object With Profile Traces
p.res.2fact | Plot Numeric (e.g. Residuals) vs 2 Factors Using Boxplots
p.res.2x | Stahel's Residual Plot against 2 X's
p.res.2x.default | Stahel's Residual Plot against 2 X's
p.res.2x.formula | Stahel's Residual Plot against 2 X's
p.scales | Conversion between plotting scales: usr, cm, symbol
p.tachoPlot | Draw Symbol on a Plot
p.ts | plot.ts with multi-plots and Auto-Title - on 1 page
paste.vec | Utility for 'Showing' S vectors
pdf.do | PostScript/PDF Preview Device with Optional 'LaTeX' Touch
pdf.end | Close PostScript or Acrobat Graphics Device opened by 'ps.do' / 'pdf.do'
pdf.latex | PostScript/PDF Preview Device with Optional 'LaTeX' Touch
pkgBuilt | Version of packageDescription() as Simple Vector
pkgDesc | Version of packageDescription() as Simple Vector
pkgLibs | R Package Compiled Code Library Dependencies (on Unix-alikes)
plotDS | Plot Data and Smoother / Fitted Values
plotStep | Plot a Step Function
pmax.sa | Deprecated 'sfsmisc' Functions
pmin.sa | Deprecated 'sfsmisc' Functions
polyn.eval | Evaluate Polynomials
posdefify | Find a Close Positive Definite Matrix
potatoes | Fisher's Potato Crop Data
predict.dDA | Diagonal Discriminant Analysis
pretty10exp | Nice 10 ** k Label Expressions
primes | Find all Primes Less Than n
print.basedInt | Digit/Bit Representation of Integers in any Base
print.dDA | Diagonal Discriminant Analysis
print.margin2table | Add and Print Marginals for 2-way Contingency Tables
print.sessionInfoX | Extended Information About the Current R Session
printTable2 | Add and Print Marginals for 2-way Contingency Tables
prt.DEBUG | Utility Printing in DEBUG mode
ps.do | PostScript/PDF Preview Device with Optional 'LaTeX' Touch
ps.end | Close PostScript or Acrobat Graphics Device opened by 'ps.do' / 'pdf.do'
ps.latex | PostScript/PDF Preview Device with Optional 'LaTeX' Touch

## -- Q --

quadrant | Give the Quadrant Number of Planar Points
QUnif | Quasi Randum Numbers via Halton Sequences

## -- R --

read.org.table | Read.table for an Emacs Org Table
relErr | Relative Error When Appropriate, Absolute Otherwise
relErrV | Relative Error When Appropriate, Absolute Otherwise
repChar | Make Simple String from Repeating a Character, e.g. Blank String
rot2 | Rotate Planar Points by Angle
rotn | Generalized Rot13 Character Translation (Rotation)
roundfixS | Round to Integer Keeping the Sum Fixed
rrange | Robust Range using Boxplot 'Quartiles'

## -- S --

seqXtend | Sequence Covering the Range of X, including X
sessionInfoX | Extended Information About the Current R Session
sHalton | Quasi Randum Numbers via Halton Sequences
shortRversion | Short R Version String
signi | Rounding to Significant Digits
sourceAttach | Source and Attach an R source file
strcodes | Character to and from Integer Codes Conversion
str_data | Overview on All Datasets in an R Package
Sys.cpuinfo | Provide Information about the Linux Hardware (CPU, Memory, etc)
Sys.memGB | Provide Information about the Linux Hardware (CPU, Memory, etc)
Sys.meminfo | Provide Information about the Linux Hardware (CPU, Memory, etc)
Sys.MIPS | Provide Information about the Linux Hardware (CPU, Memory, etc)
Sys.procinfo | Provide Information about the Linux Hardware (CPU, Memory, etc)
Sys.ps | Return Process Status (Unix 'ps') Information
Sys.ps.cmd | 'Portable' System function (R / S-plus)
Sys.sizes | Return Process Status (Unix 'ps') Information

## -- T --

TA.plot | Tukey-Anscombe Plot (Residual vs. Fitted) of a Linear Model
tapplySimpl | More simplification in tapply() result
tkdensity | GUI Density Estimation using Tcl/Tk
toLatex.numeric | LaTeX or Sweave friendly Formatting of Numbers

## -- U --

u.assign0 | 'Portable' assign / get functions (R / S-plus) for 'Frame 0'
u.boxplot.x | Utility Returning x-Coordinates of Boxplot
u.date | Return Date[-Time] String in 'European' Format
u.datumdecode | Convert "Numeric" Dates
u.Datumvonheute | Datum und Uhrzeit (auf deutsch)
u.get0 | 'Portable' assign / get functions (R / S-plus) for 'Frame 0'
u.log | (Anti)Symmetric Log High-Transform
u.sys | 'Portable' System function (R / S-plus)
unif | Nice Uniform Points in Interval
uniqueL | A Reversable Version of unique()

## -- V --

vcat | Paste Utilities - Concatenate Strings

## -- W --

wrapFormula | Enhance Formula by Wrapping each Term, e.g., by "s(.)"

## -- X --

xy.grid | Produce regular grid matrix.
xy.unique.x | Uniqify (X,Y) Values using Weights