Learn R Programming

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

sfsmisc (version 1.0-26)

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

License

GPL (>= 2)

Maintainer

Martin Maechler

Last Published

June 16th, 2014

Functions in sfsmisc (1.0-26)

cairoSwd

Cairo PDF Graphics Device useful for Sweave
diagX

The ``Other'' Diagonal Matrix
compresid2way

Plot Components + Residuals for Two Factors
histBxp

Plot a Histogram and a Boxplot
Deprecated

Deprecated 'sfsmisc' Functions
KSd

Approximate Critical Values for Kolmogorov-Smirnov's D
diagDA

Diagonal Discriminant Analysis
digitsBase

Digit/Bit Representation of Integers in any Base
p.dnorm

Plot Parametric Density Functions
hatMat

Hat Matrix of a Smoother
Duplicated

Counting-Generalization of duplicated()
quadrant

Give the Quadrant Number of Planar Points
Sys.cpuinfo

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

Find a Close Positive Definite Matrix
D1D2

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

Add and Print Marginals for 2-way Contingency Tables
QUnif

Quasi Randum Numbers via Halton Sequences
mpl

Simple Matrix Plots
ecdf.ksCI

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

Plot Data and Smoother / Fitted Values
D2ss

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

Generate Sequences, Equidistant on Log Scale
rot2

Rotate Planar Points by Angle
errbar

Scatter Plot with Error Bars
potatoes

Fisher's Potato Crop Data
p.datum

Plot `Datum' (deutsch!) unten rechts
u.log

(Anti)Symmetric Log High-Transform
axTexpr

Axis Ticks Expressions in Nice 10 ** k Form
nearcor

Find the Nearest Proper Correlation Matrix
p.tachoPlot

Draw Symbol on a Plot
signi

Rounding to Significant Digits
u.datumdecode

Convert ``Numeric'' Dates
eaxis

Extended / Engineering Axis for Graphics
is.whole

Test Whether a Vector or Array Consists of Whole Numbers
pretty10exp

Nice 10 ** k Label Expressions
wrapFormula

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

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

Get Last Elements of a Vector
TA.plot

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

Empty Dimnames of an Array.
mult.fig

Plot Setup for MULTiple FIGures, incl. Main Title
u.sys

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

A Reversable Version of unique()
pmax.sa

Parallel Maxima / Minima (Scalar, Array)
Sys.ps

Return Process Status (unix ps) Information
integrate.xy

Cheap Numerical Integration through Data points.
p.hboxp

Add a Horizontal Boxplot to the Current Plot
u.Datumvonheute

Datum und Uhrzeit (auf deutsch)
sourceAttach

Source and Attach an R source file
iterate.lin.recursion

Generate Sequence Iterating a Linear Recursion
n.plot

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

Capture output and Write / Print First and Last Parts
p.res.2fact

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

Produce LaTeX commands to print a matrix
ellipsePoints

Compute Radially Equispaced Points on Ellipse
col01scale

Matrix Scaling Utilities
linesHyperb.lm

Plot Confidence or Prediction Hyperbolas around a Regression Line
plotStep

Plot a Step Function
prt.DEBUG

Utility Printing in DEBUG mode
u.date

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

Prime Factorization of Integers
repChar

Make Simple String from Repeating a Character, e.g. Blank String
xy.unique.x

Uniqify (X,Y) Values using Weights
p.scales

Conversion between plotting scales: usr, cm, symbol
tapplySimpl

More simplification in tapply() result
rrange

Robust Range using Boxplot `Quartiles'
p.profileTraces

Plot a profile.nls Object With Profile Traces
polyn.eval

Evaluate Polynomials
unif

Nice Uniform Points in Interval
p.ts

plot.ts with multi-plots and Auto-Title -- on 1 page
p.res.2x

Stahel's Residual Plot against 2 X's
paste.vec

Utility for 'Showing' S vectors
ps.latex

PostScript/PDF Preview Device with Optional `LaTeX' Touch
u.boxplot.x

Utility Returning x-Coordinates of Boxplot
primes

Find all Primes Less Than n
toLatex.numeric

LaTeX or Sweave friendly Formatting of Numbers
u.assign0

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

Round to Integer Keeping the Sum Fixed
ps.end

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

Convert "Round" Integers to Short Strings and Back
seqXtend

Sequence Covering the Range of X, including X
str_data

Overview on All Datasets in an R Package
inv.seq

Inverse seq() -- Short Expression for Index Vector
xy.grid

Produce regular grid matrix.
AsciiToInt

Character to and from Integer Codes Conversion
cum.Vert.funkt

Kumulative Verteilung Aufzeichnen
p.arrows

Prettified Arrows Plots
vcat

Paste Utilities -- Concatenate Strings
tkdensity

GUI Density Estimation using Tcl/Tk
nr.sign.chg

Number of Sign Changes in Sequence