Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201867

High Dimensional Array

$
0
0

I have a 13 dimensional array: MatrixQ<-array(0,dim=c(2,2,2,2,2,2,2,2,2,2,2,2,3))

How can I refer to ith dimension of it in a loop?

for (i in 1:13) { I want to assign the number i to the ith dimension of the array } What command I should use? Thanks,


Viewing all articles
Browse latest Browse all 201867

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>