Social Media Research

02 R Data Analysis


Question

What does the which function?


Answer

Returns the position of the elements in a logical vector which are TRUE. e. g. x <- c(3,2,1) // which (x==3); Output: 1




Comments