[R] how to compute a vector of min values ?

Rui Barradas rui1174 at sapo.pt
Fri Apr 6 00:51:19 CEST 2012


Hello,

Try

apply(df, 2, min)

(By the way, 'df' is the name of a R function, avoid it, 'DF' is better.)
Hope this helps,

Rui Barradas


--
View this message in context: http://r.789695.n4.nabble.com/how-to-compute-a-vector-of-min-values-tp4536224p4536275.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list