Revision 392ae21a013fb3f518e8f9eb8efb458a55a2eca2 authored by HwB on 09 April 2011, 00:00:00 UTC, committed by Gabor Csardi on 09 April 2011, 00:00:00 UTC
1 parent 162b332
Raw File
find.R
##
##  f i n d . R  Finds indices of nonzero elements
##


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