computeMoments {morpheus} | R Documentation |
computeMoments
Description
Compute cross-moments of order 1,2,3 from X,Y
Usage
computeMoments(X, Y)
Arguments
X |
Matrix of input data (size nxd) |
Y |
Vector of binary outputs (size n) |
Value
A list L where L[[i]] is the i-th cross-moment
Examples
X <- matrix(rnorm(100), ncol=2)
Y <- rbinom(100, 1, .5)
M <- computeMoments(X, Y)
[Package morpheus version 1.0-4 Index]