Displaying 1 result from an estimated 1 matches for "tp4355092p4355376".
2012 Feb 03
2
sapply help
Hi every one.
I'm learning how to use sapply (and other function of this family).
Here's what I'm trying to do.
I have a vector of lets say 5 elements. I also have a matrix of nX5. I would
like to know how many element by column are inferior to each element of my
vector.
On this example:
v = c(1:5)
M = matrix(3,2,5)
I would like to have a vector at the end which give me
0 0 0 2 2