Learn R Programming

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

sfsmisc (version 1.0-22)

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

License

GPL (>= 2)

Maintainer

Martin Maechler

Last Published

October 21st, 2012

Functions in sfsmisc (1.0-22)

AsciiToInt

Character to and from Integer Codes Conversion
col01scale

Matrix Scaling Utilities
capture.and.write

Capture output and Write / Print First and Last Parts
u.log

(Anti)Symmetric Log High-Transform
f.robftest

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

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

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

Nice 10 ** k Label Expressions
n.plot

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

GUI Density Estimation using Tcl/Tk
histBxp

Plot a Histogram and a Boxplot
p.arrows

Prettified Arrows Plots
p.profileTraces

Plot a profile.nls Object With Profile Traces
nearcor

Find the Nearest Proper Correlation Matrix
rrange

Robust Range using Boxplot `Quartiles'
n.code

Convert "Round" Integers to Short Strings and Back
eaxis

Extended / Engineering Axis for Graphics
p.tachoPlot

Draw Symbol on a Plot
primes

Find all Primes Less Than n
mult.fig

Plot Setup for MULTiple FIGures, incl. Main Title
diagDA

Diagonal Discriminant Analysis
p.res.2x

Stahel's Residual Plot against 2 X's
inv.seq

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

Rounding to Significant Digits
seqXtend

Sequence Covering the Range of X, including X
plotDS

Plot Data and Smoother / Fitted Values
empty.dimnames

Empty Dimnames of an Array.
Duplicated

Counting-Generalization of duplicated()
Deprecated

Deprecated 'sfsmisc' Functions
linesHyperb.lm

Plot Confidence or Prediction Hyperbolas around a Regression Line
factorize

Prime Factorization of Integers
roundfixS

Round to Integer Keeping the Sum Fixed
digitsBase

Digit/Bit Representation of Integers in any Base
ps.latex

PostScript/PDF Preview Device with Optional `LaTeX' Touch
pmax.sa

Parallel Maxima / Minima (Scalar, Array)
p.scales

Conversion between plotting scales: usr, cm, symbol
diagX

The ``Other'' Diagonal Matrix
p.hboxp

Add a Horizontal Boxplot to the Current Plot
p.res.2fact

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

Give the Quadrant Number of Planar Points
uniqueL

A Reversable Version of unique()
unif

Nice Uniform Points in Interval
u.sys

`Portable' System function (R / S-plus)
Sys.ps

Return Process Status (unix ps) Information
wrapFormula

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

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

Paste Utilities -- Concatenate Strings
D2ss

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

Plot Parametric Density Functions
errbar

Scatter Plot with Error Bars
QUnif

Quasi Randum Numbers via Halton Sequences
ellipsePoints

Compute Radially Equispaced Points on Ellipse
iterate.lin.recursion

Generate Sequence Iterating a Linear Recursion
paste.vec

Utility for 'Showing' S vectors
sourceAttach

Source and Attach an R source file
xy.grid

Produce regular grid matrix.
KSd

Approximate Critical Values for Kolmogorov-Smirnov's D
u.boxplot.x

Utility Returning x-Coordinates of Boxplot
integrate.xy

Cheap Numerical Integration through Data points.
posdefify

Find a Close Positive Definite Matrix
rot2

Rotate Planar Points by Angle
nr.sign.chg

Number of Sign Changes in Sequence
u.assign0

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

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

Overview on All Datasets in an R Package
hatMat

Hat Matrix of a Smoother
printTable2

Add and Print Marginals for 2-way Contingency Tables
u.date

Return Date[-Time] String in `European' Format
prt.DEBUG

Utility Printing in DEBUG mode
tapplySimpl

More simplification in tapply() result
last

Get Last Elements of a Vector
u.datumdecode

Convert ``Numeric'' Dates
p.datum

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

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

Datum und Uhrzeit (auf deutsch)
ps.end

Close PostScript or Acrobat Graphics Device opened by 'ps.do' / 'pdf.do'
xy.unique.x

Uniqify (X,Y) Values using Weights
plotStep

Plot a Step Function
repChar

Make Simple String from Repeating a Character, e.g. Blank String
cum.Vert.funkt

Kumulative Verteilung Aufzeichnen
potatoes

Fisher's Potato Crop Data
mpl

Simple Matrix Plots
axTexpr

Axis Ticks Expressions in Nice 10 ** k Form
compresid2way

Plot Components + Residuals for Two Factors
mat2tex

Produce LaTeX commands to print a matrix
polyn.eval

Evaluate Polynomials
lseq

Generate Sequences, Equidistant on Log Scale