Deprecated {sfsmisc}R Documentation

Deprecated 'sfsmisc' Functions

Description

These functions are provided for compatibility with older versions of the sfsmisc package only, and may be defunct as soon as of the next release.

Usage

nna(data)

digits.v(nvec, base = 2, num.bits = 1 + floor(log(max(nvec),base)))
digits(n, base = 10)

subtit(t)

p.panelL(x,y)
p.panelS(x,y,df = 4)
p.pllines(x,y,group,lty=c(1,3,2,4),...)

p.triangle(mat, label= "*", text.ecken = rep("",3), dreieck = TRUE)

list2mat(x, check = TRUE)

huberM(x, k = 1.5, tol = 1e-06, mu = median(x), s = mad(x, center=mu),
       warn0scale = getOption("verbose"))

Arguments

data vector, matrix or data frame.
nvec, n non-negative integer (vector).
base positive integer
num.bits positive integer
t character string.
mat matrix mit % A in der 1. Kolonne, % B in der 2.. (range 0:1)
label text of length mat[,1] for labeling points.
text.ecken character(3) text for the three corners.
dreieck logical; if true, draw the triangle border.
x,y panel function (or plot or general) arguments: numeric vectors of same length.
df specify (equivalent) degrees of freedom for smoothing spline in p.panelS.
check logical specifiying if it should be checked that list components have same length.
group grouping vector of same length as x or y.
lty line types to use for the groups (recycled).
... further arguments passed to (plot) methods.
k positive factor; the algorithm winsorizes at k standard deviations.
tol convergence tolerance.
mu initial location estimator.
s scale estimator held constant through the iterations.
warn0scale logical; if true, and s is 0 and length(x) > 1, this will be warned about.

Details

nna was a simpler version of the generic na.omit function; the latter should be used instead.

digits.v and digits are old vector and “scalar” versions of digitsBase.

subtit(t) is really just a convenience abbreviation for mtext(t, side = 3, line = 0) which you should rather use.

p.panelL and p.panelS are simple two-line functions to be used as panel arguments in pairs or coplot. However, for such simple panels, it's rather recommended to use anonymous functions, i.e., panel = function(x,y) { ....} in the call to coplot() (e.g.).

p.pllines is deprecated because basic R graphics (but not S-PLUS) provide its functionality directly: Use plot(x,y, lty = group, type = 'l', ...).

p.triangle is deprecated because package vcd has a much more versatile ternaryplot function.

tapply.num has simply be renamed to tapplySimpl which you should use instead.

list2mat(x) is usually the same as sapply(x, c) (where the latter does not construct column names where x has no names).

huberM(x, ..) is a safe (generalized) Huber M-Estimator of location with MAD scale, being sensible also when the scale is zero where huber() returns an error. This function has been moved to package robustbase.


[Package sfsmisc version 0.95-4 Index]