EuclRandVarList-class {RandVar} | R Documentation |
List of Euclidean random variables
Description
Create a list of Euclidean random variables
Objects from the Class
Objects can be created by calls of the form new("EuclRandVarList", ...)
.
More frequently they are created via the generating function
EuclRandVarList
.
Slots
.Data
Object of class
"list"
. A list of Euclidean random variables.
Extends
Class "list"
, from data part.
Class "vector"
, by class "list"
.
Methods
- coerce
signature(from = "EuclRandVariable", to = "EuclRandVarList")
: create a"EuclRandVarList"
object from a Euclidean random variable.- coerce
signature(from = "EuclRandMatrix", to = "EuclRandVarList")
: create a"EuclRandVarList"
object from a Euclidean random matrix.- numberOfMaps
signature(object = "EuclRandVarList")
: number of functions contained in the slotsMap
of the members ofobject
.- dimension
signature(object = "EuclRandVarList")
: dimension of the Euclidean random variable.- evalRandVar
signature(RandVar = "EuclRandVarList", x = "numeric")
: evaluate the elements ofRandVar
atx
.- evalRandVar
signature(RandVar = "EuclRandVarList", x = "matrix")
: evaluate the elements ofRandVar
at rows ofx
.- evalRandVar
signature(RandVar = "EuclRandVarList", x = "numeric", distr = "Distribution")
: evaluate the elements ofRandVar
atx
assuming a probability space with distributiondistr
. In casex
does not lie in the support ofdistr
NA
is returned.- evalRandVar
signature(RandVar = "EuclRandVarList", x = "matrix", distr = "Distribution")
: evaluate the elements ofRandVar
at rows ofx
assuming a probability space with distributiondistr
. For those rows ofx
which do not lie in the support ofdistr
NA
is returned.- imageDistr
signature(RandVar = "EuclRandVarList", distr = "Distribution")
: image distribution ofdistr
underRandVar
. Returns an object of class"DistrList"
.- show
signature(object = "EuclRandVarList")
- t
signature(x = "EuclRandVarList")
: returns an object of class"EuclRandVarList"
where the rhe results of the functions in the slotsMap
of the members ofx
are transposed.- %m%
signature(x = "EuclRandVarList", y = "EuclRandVarList")
: matrix multiplication for objects of class"EuclRandVarList"
. Generates an object of class"EuclRandVarList"
.- %*%
signature(x = "matrix", y = "EuclRandVarList")
: matrix multiplication ofx
andy
. Generates an object of class"EuclRandMatrix"
.- %*%
signature(x = "EuclRandVarList", y = "matrix")
: matrix multiplication ofx
andy
. Generates an object of class"EuclRandMatrix"
.- Arith
signature(e1 = "numeric", e2 = "EuclRandVarList")
: Given a numeric vectore1
, a list of Euclidean random variablese2
and an arithmetic operatorop
, the list of Euclidean random variablese1 op e2
is returned.- Arith
signature(e1 = "EuclRandVarList", e2 = "numeric")
: Given a numeric vectore2
, a list of Euclidean random variablese1
and an arithmetic operatorop
, the list of Euclidean random variablese1 op e2
is returned.- Arith
signature(e1 = "EuclRandVarList", e2 = "EuclRandVarList")
: Given two lists of Euclidean random variablese1
,e2
and an arithmetic operatorop
, the list of Euclidean random variablese1 op e2
is returned.- Math
signature(x = "EuclRandVarList")
: Given a"Math"
group genericfct
, the list of Euclidean random variablesfct(x)
is returned.- E
signature(object = "UnivariateDistribution", fun = "EuclRandVarList", cond = "missing")
: expectation offun
under univariate distributions.- E
signature(object = "AbscontDistribution", fun = "EuclRandVarList", cond = "missing")
: expectation offun
under absolutely continuous univariate distributions.- E
signature(object = "DiscreteDistribution", fun = "EuclRandVarList", cond = "missing")
: expectation offun
under discrete univariate distributions.- E
signature(object = "MultivariateDistribution", fun = "EuclRandVarList", cond = "missing")
: expectation offun
under multivariate distributions.- E
signature(object = "DiscreteMVDistribution", fun = "EuclRandVarList", cond = "missing")
: expectation offun
under discrete multivariate distributions.- E
signature(object = "UnivariateCondDistribution", fun = "EuclRandVarList", cond = "numeric")
: expectation offun
under conditional univariate distributions.- E
signature(object = "AbscontCondDistribution", fun = "EuclRandVarList", cond = "numeric")
: expectation offun
under absolutely continuous conditional univariate distributions.- E
signature(object = "DiscreteCondDistribution", fun = "EuclRandVarList", cond = "numeric")
: expectation offun
under discrete conditional univariate distributions.
Author(s)
Matthias Kohl Matthias.Kohl@stamats.de
See Also
EuclRandMatrix
, RandVariable-class
,
EuclRandVariable-class
, EuclRandMatrix-class
,
Distribution-class
, Arith
,
Math
, E
Examples
L1 <- list(function(x){x}, function(x){x^2}, function(x){x^3}, function(x){x^4},
function(x){x^5}, function(x){x^6})
L2 <- list(function(x){exp(x)}, function(x){abs(x)},
function(x){sin(x)}, function(x){floor(x)})
R1 <- new("EuclRandVariable", Map = L2, Domain = Reals(), Range = Reals())
R2 <- EuclRandMatrix(Map = L1, ncol = 2, Domain = Reals(), dimension = 1)
R3 <- EuclRandMatrix(Map = L2, ncol = 2, Domain = Reals(), dimension = 1)
(RL1 <- new("EuclRandVarList", list(R1, R2, R3)))
dimension(RL1)
as(R1, "EuclRandVarList")
as(R2, "EuclRandVarList")
Map(exp(RL1)[[1]]) # "Math" group
## "Arith" group
Map((1 + RL1)[[1]])
Map((RL1 * 2)[[2]])
Map((RL1 / RL1)[[3]])