There are three ways to find the index of an element in a vector. Example. > x <- sample(1:10) > x [1] 8 10 9 6 2 1 4 7 5 3. Using which
確定! 回上一頁