search for: tp1594215p2265736

Displaying 1 result from an estimated 1 matches for "tp1594215p2265736".

2010 Mar 16
2
Dimnames of array inside loop
hello R-helpers, I have an array acuracia <- array(NA, dim = c(1, 1, A, B, C)) which is first defined and in the example above with dimensions 1x1xAxBxC. My array is then filled using 3 loops (I am not well familiar yet with lapply or sapply functions so I am still a loop-user): for (i in 1:A){ for (j in 1:B){ for (k in 1:C){ acuracia[,,i,j,k] <- correlacao / (sqrt(ac)) } } } then I