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)
(a vector of) logical
.
character
.
a list.
as base::sapply
.
a (numeric) vector
a (numeric) vector
numeric --- tolerance
object of class L2ParamFamily
a list
like sapply
: a vector (atomic or list) or an expression
object. Other objects
(including classed objects) will be coerced by base::as.list
.
like sapply
: the function to be applied to each element of X
. See also sapply
like sapply
: optional arguments to FUN
.
like sapply
: logical or character string;
should the result be simplified to a vector, matrix or higher dimensional array if possible? See also sapply
like sapply
: logical; if TRUE
and if X
is character,
use X
as names for the result unless it had names already.
an object of class IC
, i.e., it expects a slot Curve
like an IC.
a distribution
a list, obtained by list(...)
.
Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de
.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.