search for: tp4655194p4655237

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

2013 Jan 10
3
Learning to speak R: simple data processing
So, I am just trying to learn R... Here is a rather contrived example that would be pretty obvious to me in terms of writing code to loop through elements, but the slick, fast, compact way of expressing this in R is not obvious to me. Here's code to generate a simple matrix of data: > m <- floor(matrix(runif(24, 1, 100), 8, 3)) > m [,1] [,2] [,3] [1,] 75 5 15 [2,] 82