Displaying 1 result from an estimated 1 matches for "yijk_array".
Did you mean:
yajl_array
2009 Sep 23
1
Best way to arrange data
...rray(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))
{
yijk_array[i,j,k]=yijk[b]
}
}
}
}
}
But this gives an array that has a lot of zeros in places where I don't have
any data. Is th...