If I have an array defined as:
Q <- array(runif(48), c(4,4,3), dimnames=list(
c("P","PO","C","T"), c("LL","RR","R","Y"), c("Jerry1", "Jerry2", "Jerry3")))
What I would like to do is check each “Jerry_n” matrix within the array Q at the address Q[1, 4,], and if Q[1, 4] is less than Q[1, 1, ], then I would like to remove that Jerry matrix.
Thank you so very much in advance for any help you can provide.
I think
should do it …
edit: assigned result to original.