Is there an alternative method fot this code which is quicker but will have
the same result?
red <- rood[,1]
for (j in 2:(dim(rood)[2])){
red <- c(red, rood[,j])
}
rood is 2592x3872 matrix
--
View this message in context:
http://r.789695.n4.nabble.com/For-loop-acceleration-tp4721110.html
Sent from the datatable-help mailing list archive at Nabble.com.
_______________________________________________
datatable-help mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help