Create a list from table in R
How can I make a table into a comma separated list with apostrophes around
the values?
I have a table, such as:
codes<- table[ ,2]
where column 2 of table has values like 11100 23432 34586 and 65412
And I want to paste a list that looks like:
('11100', '23432', '34586', '65412'))
Thanks
No comments:
Post a Comment