When To Use Which in R?
Do you need to determine which component of a vector, data frame, or matrix satisfies a given set of criteria? then you’re in the right place. which(x, arr.ind = FALSE) x: Any logical test...
Do you need to determine which component of a vector, data frame, or matrix satisfies a given set of criteria? then you’re in the right place. which(x, arr.ind = FALSE) x: Any logical test...