map2dfdir: Make a matrix that transfer test vectors to the direction in...

Description Usage Arguments Value Examples

View source: R/SphereKaji20140527.R

Description

Make a matrix that transfer test vectors to the direction in the df-dimensional space

Usage

1

Arguments

A

An array or matrix of multiway table

Value

A matrix

Examples

1
2
3
4
r <- c(2,3,4)
A <- array(1:prod(r),r)
M <- map2dfdir(A)
c(A) %*% M

ryamada22/mwaytable documentation built on May 28, 2019, 10:44 a.m.