data.frame(table(df$trstun))
Var1 Freq
1 0 1510
2 1 734
3 2 1075
4 3 1352
5 4 1348
6 5 3134
7 6 1867
8 7 2168
9 8 1933
10 9 896
11 10 587
12 77 57
13 88 1306
14 99 93
After the 10th variable 11-14 are void results from the dataset. There were no survey answers with the options to pick 11,12,13, 14 as a preset answer on levels of trust in this research. Does anyone know how to remove this using the NA function. How would I tell R not to use 11, 12, 13 etc in data from tables I am trying to generate?