I have data in type double as below:
V1
2.policy 37
3.payments 51
4.supervisory 45
5.housing 22
6.inflation 11
V1 with all the number(Word frequency) is column 1 and serial number with the words is column 0, I want it in the form of a data table with words in one column and numbers in the corresponding column.
Can someone please let me know how to do that as general functions such as setDT are not working on type "double"
thanks