Learn R Programming

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

sfsmisc (version 1.0-2)

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

17,205

Version

1.0-2

License

GPL (>= 2)

Maintainer

Martin Maechler

Last Published

November 21st, 2025

Functions in sfsmisc (1.0-2)

diagX

The ``Other'' Diagonal Matrix
lseq

Generate Sequences, Equidistant on Log Scale
inv.seq

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

Approximate Critical Values for Kolmogorov-Smirnov's D
ellipsePoints

Compute Radially Equispaced Points on Ellipse
iterate.lin.recursion

Generate Sequence Iterating a Linear Recursion
p.scales

Conversion between plotting scales: usr, cm, symbol
signi

Rounding to Significant Digits
paste.vec

Utility for 'Showing' S vectors
cum.Vert.funkt

Kumulative Verteilung Aufzeichnen
str_data

Overview on All Datasets in an R Package
empty.dimnames

Empty Dimnames of an Array.
mult.fig

Plot Setup for MULTiple FIGures, incl. Main Title
p.dnorm

Plot Parametric Density Functions
f.robftest

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

Blank String
u.date

Return Date[-Time] String in `European' Format
p.profileTraces

Plot a profile.nls Object With Profile Traces
col01scale

Matrix Scaling Utilities
axTexpr

Axis Ticks Expressions in Nice 10 ** k Form
u.sys

`Portable' System function (R / S-plus)
digitsBase

Digit/Bit Representation of Integers in any Base
hist.bxp

Plot a Histogram and a Boxplot
p.ts

plot.ts with multi-plots and Auto-Title -- on 1 page
integrate.xy

Cheap Numerical Integration through Data points.
roundfixS

Round to Integer Keeping the Sum Fixed
tkdensity

GUI Density Estimation using Tcl/Tk
AsciiToInt

Character to and from Integer Codes Conversion
D2ss

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

Convert ``Numeric'' Dates
n.code

Convert "Round" Integers to Short Strings and Back
mpl

Simple Matrix Plots
compresid2way

Plot Components + Residuals for Two Factors
p.res.2x

Stahel's Residual Plot against 2 X's
errbar

Scatter Plot with Error Bars
p.hboxp

Add a Horizontal Boxplot to the Current Plot
eaxis

Extended / Engineering Axis for Graphics
n.plot

Name Plot: Names or Numbers instead of Points in Plot
pmax.sa

Parallel Maxima / Minima (Scalar, Array)
last

Get Last Elements of a Vector
pretty10exp

Nice 10 ** k Label Expressions
TA.plot

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

Hat Matrix of a Smoother
ecdf.ksCI

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

More simplification in tapply() result
nr.sign.chg

Number of Sign Changes in Sequence
potatoes

Fisher's Potato Crop Data
linesHyperb.lm

Plot Confidence or Prediction Hyperbolas around a Regression Line
nearcor

Find the Nearest Proper Correlation Matrix
xy.unique.x

Uniqify (X,Y) Values using Weights
QUnif

Quasi Randum Numbers via Halton Sequences
u.Datumvonheute

Datum und Uhrzeit (auf deutsch)
Deprecated

Deprecated 'sfsmisc' Functions
mat2tex

Produce LaTeX commands to print a matrix
diagDA

Diagonal Discriminant Analysis
rrange

Robust Range using Boxplot `Quartiles'
Sys.ps

Return Process Status (unix ps) Information
u.boxplot.x

Utility Returning x-Coordinates of Boxplot
D1D2

Numerical Derivatives of (x,y) Data via Smoothing Splines
xy.grid

Produce regular grid matrix.
boxplot.matrix

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

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

Sequence Covering the Range of X, including X
p.tachoPlot

Draw Symbol on a Plot
ps.end

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

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

Nice Uniform Points in Interval
prt.DEBUG

Utility Printing in DEBUG mode
p.res.2fact

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

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

Paste Utilities -- Concatenate Strings
plotDS

Plot Data and Smoother / Fitted Values
factorize

Prime Factorization of Integers
polyn.eval

Evaluate Polynomials
rot2

Rotate Planar Points by Angle
wrapFormula

Enhance Formula by Wrapping each Term, e.g., by "s(.)"
u.log

(Anti)Symmetric Log High-Transform
posdefify

Find a Close Positive Definite Matrix
primes

Find all Primes Less Than n
capture.and.write

Capture output and Write / Print First and Last Parts
p.arrows

Prettified Arrows Plots
p.datum

Plot `Datum' (deutsch!) unten rechts
Sys.cpuinfo

Provide Information about the Linux Hardware (CPU, Memory, etc)
plotStep

Plot a Step Function
uniqueL

A Reversable Version of unique()
quadrant

Give the Quadrant Number of Planar Points
Duplicated

Counting-Generalization of duplicated()
repChar

Make Simple String from Repeating a Character, e.g. Blank String
sourceAttach

Source and Attach an R source file
histBxp

Plot a Histogram and a Boxplot
cairoSwd

Cairo PDF Graphics Device useful for Sweave
is.whole

Test Whether a Vector or Array Consists of Whole Numbers
missingCh

Has a Formal Argument been Set or is it Missing?
rotn

Generalized Rot13 Character Translation (Rotation)
toLatex.numeric

LaTeX or Sweave friendly Formatting of Numbers
loessDemo

Graphical Interactive Demo of loess()
sessionInfoX

Extended Information About the Current R Session
read.org.table

Read.table for an Emacs Org Table