Posts by Vinicius César • 56 points
1 post
-
4
votes1
answer3210
viewsA: Display the position of a given value on a vector in R
The first way to obtain the position of a given element of a vector is by using the function match as follows match(c(15, 53), vetor). This will return the position of the elements of the vector you…