Internal / Helper functions of package RobAStBase
These functions are used internally by package RobAStBase.
.eq(x,y = 0*x, tol = 1e-7) .getDistr(L2Fam) .evalListRec(list0) .msapply(X, FUN, ..., simplify = TRUE, USE.NAMES = TRUE) .fixInLiesInSupport(IC, distr) .filterEargsWEargList(dots)
x |
a (numeric) vector |
y |
a (numeric) vector |
tol |
numeric — tolerance |
L2fam |
object of class |
list0 |
a list |
X |
like |
FUN |
like |
... |
like |
simplify |
like |
USE.NAMES |
like |
IC |
an object of class |
distr |
a distribution |
dots |
a list, obtained by |
.eq
checks equality of two vectors up to a given precision;
.getDistr
produces a string with the class of the family and its parameter value;
.evalListRec
recursively goes through the entries of a list, evaluating
each entry.
.msapply
like base::.sapply
but catches NULL
/zero-length arguments X
.
.fixInLiesInSupport
inserts a check into the function(s) in the Map
slot of
the influence curve (IC), whether the arguments at which the IC is to be evaluated lie
in the support of the distribution and accordingly either returns the function value
of the IC, or 0
; the check is done via calling liesInSupport
.
.filterEargsWEargList
calls distrEx::.filterEargs
to filter out of dots
all relevant arguments for the integrators, integrate
, GLIntegrate
,
and distrExIntegrate
; in addition, .filterEargsWEargList
checks if an argument "E.argList" is hidden in the dots
argument
and if so, filters in its entries; in case of collisions with entries filtered
from distrEx::.filterEargs
, it overwrites existing entries. In the
end it returns a list with the filtered items.
.eq |
(a vector of) |
.getDistr |
|
.evalListRec |
a list. |
.msapply |
as |
Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.