A2M: Converts Array to matrix

Description Usage Arguments

View source: R/all.R

Description

Converts Array to matrix

Usage

1
2
3
4
5
6
A2M(
  A,
  n,
  p = if (is.character(n)) {     setdiff(names(dimnames(A), n)) } else {    
    setdiff(1:length(dim(A)), n) }
)

Arguments

A

An (eventually named) array

n

a subvector of 1:length(dim(A)) or names(dimnames(A)).

p

a subvector of 1:length(dim(A)) or names(dimnames(A)).


DanielBonnery/TensorDB documentation built on April 26, 2020, 3:45 p.m.