I would like to convert decimal points in columns of a vast data.frame into thousands separators.
For example, I need to convert data similar to:
On data similar to:
I didn't find similar questions on the platform. I appreciate any help.
Here's the data in the example:
structure(list(x1 = c(2.678, 135.613, 6.082, 30.221, 85.809,
160.804, 173.38, 3.323, 0, 597.91), x2 = c("16.282", "2.636.486",
"95.2", "514.364", "2.226.858", "4.283.662", "1.565.147", "375.16",
"4", "11.713.163")), row.names = c(NA, 10L), class = "data.frame")

