Package: sfsmisc 1.1-20

sfsmisc: Utilities from 'Seminar fuer Statistik' ETH Zurich

Useful utilities ['goodies'] from Seminar fuer Statistik ETH Zurich, some of which were ported from S-plus in the 1990s. For graphics, have pretty (Log-scale) axes eaxis(), an enhanced Tukey-Anscombe plot, combining histogram and boxplot, 2d-residual plots, a 'tachoPlot()', pretty arrows, etc. For robustness, have a robust F test and robust range(). For system support, notably on Linux, provides 'Sys.*()' functions with more access to system and CPU information. Finally, miscellaneous utilities such as simple efficient prime numbers, integer codes, Duplicated(), toLatex.numeric() and is.whole().

Authors:Martin Maechler [aut, cre], Werner Stahel [ctb], Andreas Ruckstuhl [ctb], Christian Keller [ctb], Kjetil Halvorsen [ctb], Alain Hauser [ctb], Christoph Buser [ctb], Lorenz Gygax [ctb], Bill Venables [ctb], Tony Plate [ctb], Isabelle Flückiger [ctb], Marcel Wolbers [ctb], Markus Keller [ctb], Sandrine Dudoit [ctb], Jane Fridlyand [ctb], Greg Snow [ctb], Henrik Aa. Nielsen [ctb], Vincent Carey [ctb], Ben Bolker [ctb], Philippe Grosjean [ctb], Frédéric Ibanez [ctb], Caterina Savi [ctb], Charles Geyer [ctb], Jens Oehlschlägel [ctb]

sfsmisc_1.1-20.tar.gz
sfsmisc_1.1-20.zip(r-4.5)sfsmisc_1.1-20.zip(r-4.4)sfsmisc_1.1-20.zip(r-4.3)
sfsmisc_1.1-20.tgz(r-4.4-any)sfsmisc_1.1-20.tgz(r-4.3-any)
sfsmisc_1.1-20.tar.gz(r-4.5-noble)sfsmisc_1.1-20.tar.gz(r-4.4-noble)
sfsmisc_1.1-20.tgz(r-4.4-emscripten)sfsmisc_1.1-20.tgz(r-4.3-emscripten)
sfsmisc.pdf |sfsmisc.html
sfsmisc/json (API)
NEWS

# Install 'sfsmisc' in R:
install.packages('sfsmisc', repos = c('https://mmaechler.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mmaechler/sfsmisc/issues

Datasets:

On CRAN:

10.93 score 11 stars 119 packages 508 scripts 14k downloads 22 mentions 138 exports 0 dependencies

Last updated 2 months agofrom:85e3a8bf0b. Checks:OK: 5 ERROR: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 22 2024
R-4.5-winOKDec 22 2024
R-4.5-linuxOKDec 22 2024
R-4.4-winOKDec 22 2024
R-4.4-macERRORDec 22 2024
R-4.3-winOKDec 22 2024
R-4.3-macERRORDec 22 2024

Exports:as.intBaseas.integer.basedIntAsciiToIntaxTexprbi2intbl.stringC.MonatsnameC.weekdayC.WochentagC.WochentagkurzcairoSwdcapture.and.writeccatchars8bitcode2ncol01scalecolcentercompresid2waycum.Vert.funktD1D2D1ssD1trD2ssdDAdiagDAdiagXdigitsBaseDuplicatedeaxisecdf.ksCIellipsePointsempty.dimnameserrbarf.robftestfactorizefunEnvhatMathelppdfhistBxpicharintegrate.xyinv.seqis.wholeisRsharediterate.lin.recursionKSdlastlinesHyperb.lmlist_list2matloessDemolseqmargin2tablemat2texmissingChmplmult.fign.coden.plotnearcornr.sign.chgp.arrowsp.datump.dchisqp.dgammap.dnormp.hboxpp.mp.pllinesp.profileTracesp.res.2factp.res.2xp.scalesp.tachoPlotp.tspaste.vecpdf.dopdf.endpdf.latexpkgBuiltpkgDescpkgLibspl.dsplotDSplotSteppmax.sapmin.sapolyn.evalposdefifypretty10expprimesprintTable2prt.DEBUGps.dops.endps.latexquadrantQUnifread.org.tablerelErrrelErrVrepCharrot2rotnroundfixSrrangeseqXtendsessionInfoXsHaltonshortRversionsignisourceAttachstr_datastrcodesSys.cpuinfoSys.memGBSys.meminfoSys.MIPSSys.psSys.ps.cmdSys.sizesTA.plottapplySimpltkdensityu.assign0u.boxplot.xu.dateu.datumdecodeu.Datumvonheuteu.get0u.logu.sysunifuniqueLvcatwrapFormulaxy.gridxy.unique.x

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Character to and from Integer Codes ConversionAsciiToInt chars8bit ichar strcodes
Axis Ticks Expressions in Nice 10 ** k FormaxTexpr
Cairo PDF Graphics Device useful for SweavecairoSwd
Capture output and Write / Print First and Last Partscapture.and.write
Matrix Scaling Utilitiescol01scale colcenter
Plot Components + Residuals for Two Factorscompresid2way
Kumulative Verteilung Aufzeichnencum.Vert.funkt
Numerical Derivatives of (x,y) Data via Smoothing SplinesD1D2
Numerical Derivatives of (x,y) Data (via Smoothing Splines)D1ss D1tr D2ss
Deprecated 'sfsmisc' Functionspmax.sa pmin.sa
Diagonal Discriminant AnalysisdDA diagDA predict.dDA print.dDA
The "Other" Diagonal MatrixdiagX
Digit/Bit Representation of Integers in any Baseas.intBase as.integer.basedInt bi2int digitsBase print.basedInt
Counting-Generalization of duplicated()Duplicated
Extended / Engineering Axis for Graphicseaxis
Plot Empirical Distribution Function With 95% Confidence Curvesecdf.ksCI
Compute Radially Equispaced Points on EllipseellipsePoints
Empty Dimnames of an Arrayempty.dimnames
Scatter Plot with Error Barserrbar
Robust F-Test: Wald test for multiple coefficients of rlm() Objectf.robftest
Prime Factorization of Integersfactorize
List-like Environment of Functions (and More)funEnv
Hat Matrix of a SmootherhatMat
help() Type="pdf" and View Ithelppdf
Plot a Histogram and a BoxplothistBxp
Cheap Numerical Integration through Data Pointsintegrate.xy
Inverse seq() - Short Expression for Index Vectorinv.seq
Test Whether a Vector or Array Consists of Whole Numbersis.whole
Generate Sequence Iterating a Linear Recursioniterate.lin.recursion
Approximate Critical Values for Kolmogorov-Smirnov's DKSd
Get Last Elements of a Vectorlast
Plot Confidence or Prediction Hyperbolas around a Regression LinelinesHyperb.lm
Automatically Named list()list_
Graphical Interactive Demo of loess()loessDemo
Generate Sequences, Equidistant on Log Scalelseq
Produce LaTeX commands to print a matrixmat2tex
Has a Formal Argument been Set or is it Missing?missingCh
Simple Matrix Plotsmpl p.m
Plot Setup for MULTiple FIGures, incl. Main Titlemult.fig
Convert "Round" Integers to Short Strings and Backcode2n n.code
Name Plot: Names or Numbers instead of Points in Plotn.plot
Find the Nearest Proper Correlation Matrixnearcor
Number of Sign Changes in Sequencenr.sign.chg
Prettified Arrows Plotsp.arrows
Plot 'Datum' (deutsch!) unten rechtsp.datum
Plot Parametric Density Functionsp.dchisq p.dgamma p.dnorm
Add a Horizontal Boxplot to the Current Plotp.hboxp
Plot a profile.nls Object With Profile Tracesp.profileTraces
Plot Numeric (e.g. Residuals) vs 2 Factors Using Boxplotsp.res.2fact
Stahel's Residual Plot against 2 X'sp.res.2x p.res.2x.default p.res.2x.formula
Conversion between plotting scales: usr, cm, symbolp.scales
Draw Symbol on a Plotp.tachoPlot
plot.ts with multi-plots and Auto-Title - on 1 pagep.ts
Utility for 'Showing' S vectorspaste.vec
Version of packageDescription() as Simple VectorpkgBuilt pkgDesc
R Package Compiled Code Library Dependencies (on Unix-alikes)
Plot Data and Smoother / Fitted ValuesplotDS
Plot a Step FunctionplotStep
Evaluate Polynomialspolyn.eval
Find a Close Positive Definite Matrixposdefify
Fisher's Potato Crop Datapotatoes
Nice 10 ** k Label Expressionspretty10exp
Find all Primes Less Than nprimes
Add and Print Marginals for 2-way Contingency Tablesmargin2table print.margin2table printTable2
Utility Printing in DEBUG modeprt.DEBUG
Close PostScript or Acrobat Graphics Device opened by 'ps.do' / 'pdf.do'pdf.end ps.end
PostScript/PDF Preview Device with Optional 'LaTeX' Touchpdf.do pdf.latex ps.do ps.latex
Give the Quadrant Number of Planar Pointsquadrant
Quasi Randum Numbers via Halton SequencesQUnif sHalton
Read.table for an Emacs Org Tableread.org.table
Relative Error When Appropriate, Absolute OtherwiserelErr relErrV
Make Simple String from Repeating a Character, e.g. Blank Stringbl.string repChar
Rotate Planar Points by Anglerot2
Generalized Rot13 Character Translation (Rotation)rotn
Round to Integer Keeping the Sum FixedroundfixS
Robust Range using Boxplot 'Quartiles'rrange
Sequence Covering the Range of X, including XseqXtend
Extended Information About the Current R SessionisRshared print.sessionInfoX sessionInfoX
Short R Version StringshortRversion
Rounding to Significant Digitssigni
Source and Attach an R source filesourceAttach
Overview on All Datasets in an R Packagestr_data
Provide Information about the Linux Hardware (CPU, Memory, etc)
Return Process Status (Unix 'ps') Information
Tukey-Anscombe Plot (Residual vs. Fitted) of a Linear ModelTA.plot
More simplification in tapply() resulttapplySimpl
GUI Density Estimation using Tcl/Tktkdensity
LaTeX or Sweave friendly Formatting of NumberstoLatex.numeric
'Portable' assign / get functions (R / S-plus) for 'Frame 0'u.assign0 u.get0
Utility Returning x-Coordinates of Boxplotu.boxplot.x
Return Date[-Time] String in 'European' Formatu.date
Convert "Numeric" Datesu.datumdecode
Datum und Uhrzeit (auf deutsch)C.Monatsname C.weekday C.Wochentag C.Wochentagkurz u.Datumvonheute
(Anti)Symmetric Log High-Transformu.log
'Portable' System function (R / S-plus)Sys.ps.cmd u.sys
Nice Uniform Points in Intervalunif
A Reversable Version of unique()uniqueL
Paste Utilities - Concatenate Stringsccat vcat
Enhance Formula by Wrapping each Term, e.g., by "s(.)"wrapFormula
Produce Regular Grid Matrixxy.grid
Uniqify (X,Y) Values using Weightsxy.unique.x