Skip to content
Prev 206742 / 398503 Next

change codes into loops

On Jan 18, 2010, at 7:58 PM, David Winsemius wrote:

            
I take that back.
You could make  a list of matrices:

for (nn in 1:3) {
     bn[[nn]] <- b[i,j] <- rank(c(a1[i,j]:a3[i,j]))[nn]
# assuming that your right hand construction is meaningful,,,,  
impossible to tell without an example.
}
David Winsemius, MD
Heritage Laboratories
West Hartford, CT