I'm looking for a very fast version of the function apply(X,c(1,2),min,100)
, where X
is a matrix.
I tried to use the function with()
without success so far.
Asked
Active
Viewed 19 times
1

Ben Bolker
- 211,554
- 25
- 370
- 453

Louis
- 13
- 3
-
my duplicate-close-hammer is assuming that `X` is a matrix. If it's a multidimensional array (which seems a less likely possibility), edit your question to reflect that fact (ideally with a reproducible example) and high-rep users can vote to re-open it. – Ben Bolker Sep 26 '16 at 21:54
-
Thank you and sorry for bothering. – Louis Sep 26 '16 at 22:01
-
1pmin is working so great thank you! – Louis Sep 26 '16 at 22:07