Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

index in r

which(myVector == 1)
# will return all the indices that satisfy the argument
 
PREVIOUS NEXT
Tagged: #index
ADD COMMENT
Topic
Name
7+2 =