Answers for "how to get the number of individual numbers in a vector in r"

R
0

how to get the number of individual numbers in a vector in r

> as.data.frame(table(numbers))
   numbers Freq
1        4    2
2        5    1
3       23    2
4       34    2
Posted by: Guest on November-10-2020

Code answers related to "how to get the number of individual numbers in a vector in r"

Browse Popular Code Answers by Language