Learn R Programming

⚠️There's a newer version (1.1-21) of this package.Take me there.

sfsmisc (version 1.0-0)

Utilities from Seminar fuer Statistik ETH Zurich

Description

Useful utilities ['goodies'] from Seminar fuer Statistik ETH Zurich, many ported from S-plus times.

Copy Link

Version

Install

install.packages('sfsmisc')

Monthly Downloads

12,575

Version

1.0-0

License

GPL (>= 2)

Maintainer

Martin Maechler

Last Published

July 26th, 2025

Functions in sfsmisc (1.0-0)

digitsBase

Digit/Bit Representation of Integers in any Base
u.boxplot.x

Utility Returning x-Coordinates of Boxplot
quadrant

Give the Quadrant Number of Planar Points
n.code

Convert "Round" Integers to Short Strings and Back
last

Get Last Elements of a Vector
D1D2

Numerical Derivatives of (x,y) Data via Smoothing Splines
f.robftest

Robust F-Test: Wald test for multiple coefficients of rlm() Object.
diagDA

Diagonal Discriminant Analysis
KSd

Approximate Critical Values for Kolmogorov-Smirnov's D
printTable2

Berechne und Drucke Randtotale etc f�r 2-weg Kontingenz Tafeln
D2ss

Numerical Derivatives of (x,y) Data (via Smoothing Splines)
u.assign0

`Portable' assign / get functions (R / S-plus) for `frame 0'
hatMat

Hat Matrix of a Smoother
nearcor

Find the Nearest Proper Correlation Matrix
QUnif

Quasi Randum Numbers via Halton Sequences
ellipsePoints

Compute Radially Equispaced Points on Ellipse
errbar

Scatter Plot with Error Bars
p.arrows

Prettified Arrows Plots
p.scales

Conversion between plotting scales: usr, cm, symbol
boxplot.matrix

Draw a Boxplot for each Column (Row) of a Matrix
rrange

Robust Range using Boxplot `Quartiles'
p.res.2fact

Plot Numeric (e.g. Residuals) vs 2 Factors Using Boxplots
mat2tex

Produce LaTeX commands to print a matrix
integrate.xy

Cheap Numerical Integration through Data points.
p.datum

Plot `Datum' (deutsch!) unten rechts
nr.sign.chg

Number of Sign Changes in Sequence
ecdf.ksCI

Plot the Empirical Distribution Function Together With 95% Confidence Curves.
Deprecated

Deprecated 'sfsmisc' Functions
plotCI

Plot Confidence Intervals / Error Bars
p.profileTraces

Plot a profile.nls Object With Profile Traces
uniqueL

A Reversable Version of unique()
diagX

The ``Other'' Diagonal Matrix
ps.end

Close PostScript or Acrobat Graphics Device opened by 'ps.do' / 'pdf.do'
eaxis

Extended / Engineering Axis for Graphics
p.hboxp

Add a Horizontal Boxplot to the Current Plot
cum.Vert.funkt

Kumulative Verteilung Aufzeichnen
ps.latex

PostScript/PDF Preview Device with Optional `LaTeX' Touch
wrapFormula

Enhance Formula by Wrapping each Term, e.g., by "s(.)"
p.ts

plot.ts with multi-plots and Auto-Title -- on 1 page
u.Datumvonheute

Datum und Uhrzeit (auf deutsch)
n.plot

Name Plot: Names or Numbers instead of Points in Plot
u.date

Return Date[-Time] String in `European' Format
u.log

(Anti)Symmetric Log High-Transform
inv.seq

Inverse seq() -- Short Expression for Index Vector
plotDS

Plot Data and Smoother / Fitted Values
AsciiToInt

Character to and from Integer Codes Conversion
xy.unique.x

Uniqify (X,Y) Values using Weights
plotStep

Plot a Step Function
tkdensity

GUI Density Estimation using Tcl/Tk
signi

Rounding to Significant Digits
xy.grid

Produce regular grid matrix.
lseq

Generate Sequences, Equidistant on Log Scale
unif

Nice Uniform Points in Interval
compresid2way

Plot Components + Residuals for Two Factors
Sys.cpuinfo

Provide Information about the Linux Hardware (CPU, Memory, etc)
p.tachoPlot

Draw Symbol on a Plot
axTexpr

Axis Ticks Expressions in Nice 10 ** k Form
pretty10exp

Nice 10 ** k Label Expressions
p.dnorm

Plot Parametric Density Functions
paste.vec

Utility for 'Showing' S vectors
posdefify

Find a Close Positive Definite Matrix
p.res.2x

Stahel's Residual Plot against 2 X's
tapplySimpl

More simplification in tapply() result
polyn.eval

Evaluate Polynomials
pmax.sa

Parallel Maxima / Minima (Scalar, Array)
rot2

Rotate Planar Points by Angle
prt.DEBUG

Utility Printing in DEBUG mode
u.datumdecode

Convert ``Numeric'' Dates
u.sys

`Portable' System function (R / S-plus)
hist.bxp

Plot a Histogram and a Boxplot
empty.dimnames

Empty Dimnames of an Array.
linesHyperb.lm

Plot Confidence or Prediction Hyperbolas around a Regression Line
potatoes

Fisher's Potato Crop Data
mpl

Simple Matrix Plots
Sys.ps

Return Process Status (unix ps) Information
str_data

Overview on All Datasets in an R Package
iterate.lin.recursion

Generate Sequence Iterating a Linear Recursion
vcat

Paste Utilities -- Concatenate Strings
TA.plot

Tukey-Anscombe Plot (Residual vs. Fitted) of a Linear Model
mult.fig

Plot Setup for MULTiple FIGures, incl. Main Title
seqXtend

Sequence Covering the Range of X, including X
bl.string

Blank String
roundfixS

Round to Integer Keeping the Sum Fixed
col01scale

Matrix Scaling Utilities