Learn R Programming

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

sfsmisc (version 1.0-25)

Utilities from Seminar fuer Statistik ETH Zurich

Description

Useful utilities ['goodies'] from Seminar fuer Statistik ETH Zurich, quite a few related to graphics; many ported from S-plus times.

Copy Link

Version

Install

install.packages('sfsmisc')

Monthly Downloads

17,205

Version

1.0-25

License

GPL (>= 2)

Maintainer

Martin Maechler

Last Published

January 24th, 2014

Functions in sfsmisc (1.0-25)

primes

Find all Primes Less Than n
u.datumdecode

Convert ``Numeric'' Dates
rrange

Robust Range using Boxplot `Quartiles'
p.tachoPlot

Draw Symbol on a Plot
errbar

Scatter Plot with Error Bars
f.robftest

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

Kumulative Verteilung Aufzeichnen
unif

Nice Uniform Points in Interval
uniqueL

A Reversable Version of unique()
pretty10exp

Nice 10 ** k Label Expressions
hatMat

Hat Matrix of a Smoother
Deprecated

Deprecated 'sfsmisc' Functions
nearcor

Find the Nearest Proper Correlation Matrix
mpl

Simple Matrix Plots
last

Get Last Elements of a Vector
n.code

Convert "Round" Integers to Short Strings and Back
tkdensity

GUI Density Estimation using Tcl/Tk
mult.fig

Plot Setup for MULTiple FIGures, incl. Main Title
p.res.2x

Stahel's Residual Plot against 2 X's
p.arrows

Prettified Arrows Plots
col01scale

Matrix Scaling Utilities
QUnif

Quasi Randum Numbers via Halton Sequences
posdefify

Find a Close Positive Definite Matrix
D1D2

Numerical Derivatives of (x,y) Data via Smoothing Splines
eaxis

Extended / Engineering Axis for Graphics
diagDA

Diagonal Discriminant Analysis
digitsBase

Digit/Bit Representation of Integers in any Base
signi

Rounding to Significant Digits
linesHyperb.lm

Plot Confidence or Prediction Hyperbolas around a Regression Line
D2ss

Numerical Derivatives of (x,y) Data (via Smoothing Splines)
paste.vec

Utility for 'Showing' S vectors
ellipsePoints

Compute Radially Equispaced Points on Ellipse
p.ts

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

The ``Other'' Diagonal Matrix
compresid2way

Plot Components + Residuals for Two Factors
histBxp

Plot a Histogram and a Boxplot
iterate.lin.recursion

Generate Sequence Iterating a Linear Recursion
vcat

Paste Utilities -- Concatenate Strings
sourceAttach

Source and Attach an R source file
AsciiToInt

Character to and from Integer Codes Conversion
p.res.2fact

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

Cheap Numerical Integration through Data points.
str_data

Overview on All Datasets in an R Package
TA.plot

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

Axis Ticks Expressions in Nice 10 ** k Form
factorize

Prime Factorization of Integers
xy.unique.x

Uniqify (X,Y) Values using Weights
inv.seq

Inverse seq() -- Short Expression for Index Vector
ecdf.ksCI

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

Rotate Planar Points by Angle
tapplySimpl

More simplification in tapply() result
Sys.cpuinfo

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

Give the Quadrant Number of Planar Points
n.plot

Name Plot: Names or Numbers instead of Points in Plot
capture.and.write

Capture output and Write / Print First and Last Parts
potatoes

Fisher's Potato Crop Data
u.Datumvonheute

Datum und Uhrzeit (auf deutsch)
p.profileTraces

Plot a profile.nls Object With Profile Traces
ps.latex

PostScript/PDF Preview Device with Optional `LaTeX' Touch
empty.dimnames

Empty Dimnames of an Array.
u.sys

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

Plot Data and Smoother / Fitted Values
prt.DEBUG

Utility Printing in DEBUG mode
u.boxplot.x

Utility Returning x-Coordinates of Boxplot
p.datum

Plot `Datum' (deutsch!) unten rechts
p.scales

Conversion between plotting scales: usr, cm, symbol
p.dnorm

Plot Parametric Density Functions
u.assign0

`Portable' assign / get functions (R / S-plus) for `frame 0'
nr.sign.chg

Number of Sign Changes in Sequence
polyn.eval

Evaluate Polynomials
pmax.sa

Parallel Maxima / Minima (Scalar, Array)
u.log

(Anti)Symmetric Log High-Transform
roundfixS

Round to Integer Keeping the Sum Fixed
p.hboxp

Add a Horizontal Boxplot to the Current Plot
ps.end

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

Return Process Status (unix ps) Information
wrapFormula

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

Counting-Generalization of duplicated()
u.date

Return Date[-Time] String in `European' Format
KSd

Approximate Critical Values for Kolmogorov-Smirnov's D
mat2tex

Produce LaTeX commands to print a matrix
xy.grid

Produce regular grid matrix.
plotStep

Plot a Step Function
seqXtend

Sequence Covering the Range of X, including X
lseq

Generate Sequences, Equidistant on Log Scale
repChar

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

Add and Print Marginals for 2-way Contingency Tables