EliminIndx {MultiStatM}R Documentation

Distinct values selection vector

Description

Eliminates the duplicated/q-plicated elements in a T-vector of multivariate moments and cumulants. Produces the same results as EliminMatr. Note EliminIndx does not provide the same results as unique()

Usage

EliminIndx(d, q)

Arguments

d

dimension of a vector x

q

power of the Kronecker product

Value

A vector of indexes of the distinct elements in the T-vector

References

Gy. Terdik, Multivariate statistical methods - going beyond the linear, Springer 2021. Section 1.3.2 Multi-Indexing, Elimination, and Duplication, p.21,(1.32)

See Also

Other Matrices and commutators: EliminMatr(), QplicIndx(), QplicMatr(), SymIndx(), SymMatr(), UnivMomCum()

Examples

x<-c(1,0,3)
y<-kronecker(x,kronecker(x,x))
y[EliminIndx(3,3)]
## Not the same results as
unique(y)


[Package MultiStatM version 2.0.0 Index]