Learn R Programming

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

sfsmisc (version 1.0-23)

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-23

License

GPL (>= 2)

Maintainer

Martin Maechler

Last Published

November 2nd, 2012

Functions in sfsmisc (1.0-23)

Duplicated

Counting-Generalization of duplicated()
signi

Rounding to Significant Digits
col01scale

Matrix Scaling Utilities
p.datum

Plot `Datum' (deutsch!) unten rechts
D2ss

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

Scatter Plot with Error Bars
nearcor

Find the Nearest Proper Correlation Matrix
QUnif

Quasi Randum Numbers via Halton Sequences
histBxp

Plot a Histogram and a Boxplot
plotStep

Plot a Step Function
last

Get Last Elements of a Vector
n.code

Convert "Round" Integers to Short Strings and Back
ecdf.ksCI

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

Compute Radially Equispaced Points on Ellipse
iterate.lin.recursion

Generate Sequence Iterating a Linear Recursion
paste.vec

Utility for 'Showing' S vectors
p.profileTraces

Plot a profile.nls Object With Profile Traces
digitsBase

Digit/Bit Representation of Integers in any Base
axTexpr

Axis Ticks Expressions in Nice 10 ** k Form
empty.dimnames

Empty Dimnames of an Array.
cum.Vert.funkt

Kumulative Verteilung Aufzeichnen
mat2tex

Produce LaTeX commands to print a matrix
p.ts

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

Robust Range using Boxplot `Quartiles'
printTable2

Add and Print Marginals for 2-way Contingency Tables
lseq

Generate Sequences, Equidistant on Log Scale
p.arrows

Prettified Arrows Plots
p.res.2fact

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

Convert ``Numeric'' Dates
roundfixS

Round to Integer Keeping the Sum Fixed
posdefify

Find a Close Positive Definite Matrix
sourceAttach

Source and Attach an R source file
ps.end

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

Parallel Maxima / Minima (Scalar, Array)
capture.and.write

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

Conversion between plotting scales: usr, cm, symbol
plotDS

Plot Data and Smoother / Fitted Values
factorize

Prime Factorization of Integers
p.res.2x

Stahel's Residual Plot against 2 X's
KSd

Approximate Critical Values for Kolmogorov-Smirnov's D
unif

Nice Uniform Points in Interval
uniqueL

A Reversable Version of unique()
primes

Find all Primes Less Than n
linesHyperb.lm

Plot Confidence or Prediction Hyperbolas around a Regression Line
mpl

Simple Matrix Plots
Sys.cpuinfo

Provide Information about the Linux Hardware (CPU, Memory, etc)
prt.DEBUG

Utility Printing in DEBUG mode
inv.seq

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

More simplification in tapply() result
eaxis

Extended / Engineering Axis for Graphics
tkdensity

GUI Density Estimation using Tcl/Tk
u.boxplot.x

Utility Returning x-Coordinates of Boxplot
integrate.xy

Cheap Numerical Integration through Data points.
D1D2

Numerical Derivatives of (x,y) Data via Smoothing Splines
p.hboxp

Add a Horizontal Boxplot to the Current Plot
polyn.eval

Evaluate Polynomials
p.dnorm

Plot Parametric Density Functions
u.log

(Anti)Symmetric Log High-Transform
seqXtend

Sequence Covering the Range of X, including X
quadrant

Give the Quadrant Number of Planar Points
n.plot

Name Plot: Names or Numbers instead of Points in Plot
rot2

Rotate Planar Points by Angle
u.Datumvonheute

Datum und Uhrzeit (auf deutsch)
u.sys

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

Paste Utilities -- Concatenate Strings
repChar

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

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

Diagonal Discriminant Analysis
xy.unique.x

Uniqify (X,Y) Values using Weights
nr.sign.chg

Number of Sign Changes in Sequence
Sys.ps

Return Process Status (unix ps) Information
wrapFormula

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

Nice 10 ** k Label Expressions
Deprecated

Deprecated 'sfsmisc' Functions
AsciiToInt

Character to and from Integer Codes Conversion
TA.plot

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

PostScript/PDF Preview Device with Optional `LaTeX' Touch
mult.fig

Plot Setup for MULTiple FIGures, incl. Main Title
compresid2way

Plot Components + Residuals for Two Factors
u.date

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

Overview on All Datasets in an R Package
diagX

The ``Other'' Diagonal Matrix
p.tachoPlot

Draw Symbol on a Plot
xy.grid

Produce regular grid matrix.
hatMat

Hat Matrix of a Smoother
potatoes

Fisher's Potato Crop Data
f.robftest

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