Learn R Programming

nandb (version 2.1.0)

cross_var_pillars: Calculate the cross-variance of corresponding pillars of 3d arrays.

Description

The cross-variance function is defined in the reference.

Usage

cross_var_pillars(x, y)

Arguments

x

A 3-dimensional array.

y

A 3-dimensional array with the same dimensions as x.

Value

A matrix.

Details

Pillar i, j of the 3-dimensional array arr is arr[i, j, ].

Examples

Run this code
# NOT RUN {
x <- array(1:27, dim = rep(3, 3))
y <- array(0:26, dim = rep(3, 3))
cross_var_pillars(x, y)
# }

Run the code above in your browser using DataLab