Displaying 1 result from an estimated 1 matches for "actual_array".
2009 Sep 23
1
Best way to arrange data
...2 3
5 1 0 1 1
6 2 34 2 2
7 3 123 1 1
8 4 12 2 2
I want to find the best way to store this so that it can be accessed quickly
for other uses. Someone recommended an array as follows:
actual_array=array(0,c(G,T,length(nj)))
for (b in 1:length(gene)) {
for (i in 1:max(gene)) {
for (j in 1:max(groups)) {
for (k in 1:max(reps)) {
if ((gene[b]==i) && (groups[b]==j) && (replicate[b]==k))
{...