Hello,
Firstable, sorry for my English (i'm french)
First i've a vector : liste1<-c(1:9)
Second a table (1 column) (table$vect) :
1
4
7
4
2
1
8
What did I need to do (how many times appears a number in the data)
1 2
2 1
3 0
4 2
5 0
6 0
7 1
8 1
9 0
I've found "sort" but the result is :
1 2
4 2
2 1
7 1
8 1
How can i do this ? Thank you for your help