How do I limit the number of decimal places in one variable in my dataframe in R to two decimal places? I imported data into R, and the decimal places for just one column went nuts. I want to keep the exact same dataframe but limit the decimal places in that one column to two.
The name of my dataframe is KoreanCorr and the column I want to edit is SA. I understand I do something in the realm of KoreanCorr$SA, digits = 2? What's the full code?
Thanks!