I have a vector of numbers:
numbers <- c(4,23,4,23,5,43,54,56,657,67,67,435, 453,435,324,34,456,56,567,65,34,435)
How can I hav
You can change the number to whatever you wish in following line
length(which(numbers == 4))