3
I started studies in R a short time ago and I have studied this language a lot. However, I am having difficulties in how to get the position of a vector, that is, the order in which a certain value is recorded in this vector.
Ex.: > vector <- c(15, 23, 32, 53, 64)
vector [1] 15 23 32 53 64
How to display for example the position of the value 53, (I know it is the fourth position)?
I’m sorry about the title, is that I had another question to ask about set.Seed and I forgot to change the title!
– Vanderley Matias
Click EDIT and correct the title, if applicable.
– user28595