matrix_variability: Compute "variance" of the matrices using Frobenius norm....

Description Usage Arguments Value

Description

Compute "variance" of the matrices using Frobenius norm. Variance is by default computed with respect to the mean of the matrices.

Usage

1
2
matrix_variability(mat_lst, mean_mat = apply(abind::abind(mat_lst, along = 3),
  c(1, 2), mean))

Arguments

mat_lst

A [1,M] list of [I,J] matrices from which variability should be computed

mean_mat

A [I,J] matrix describing the mean observation for mat_lst.

Value

A list with elements

fbnorm

Frobenius norm values for each of the matrices

diff

[I,J,M] matrix of differences mat_lst-mean_mat



Search within the cocoreg package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.