Revision 04bbc417cf2927b827660bc07743429783569aec authored by HwB on 10 February 2013, 00:00:00 UTC, committed by Gabor Csardi on 10 February 2013, 00:00:00 UTC
1 parent 0e3ae6b
Raw File
find.R
##
##  f i n d . R  Finds indices of nonzero elements
##


finds <- function(v) 
    which( if (is.logical(v)) v else v != 0 )
back to top