cross_var_pillars: Calculate the _cross-variance_ of corresponding pillars of 3d...

View source: R/cross_var.R

cross_var_pillarsR Documentation

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.

Details

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

Value

A matrix.

Examples

x <- array(1:27, dim = rep(3, 3))
y <- array(0:26, dim = rep(3, 3))
cross_var_pillars(x, y)

nandb documentation built on June 8, 2025, 1:11 p.m.