Skip to content
Discussion options

You must be logged in to vote

I think you might want to make the affected columns into integers. For "doubles" (numeric in R), there isn't a concept of rounding on the value itself. That's something handled when you format the number for printing. If you know something is an integer and you want it treated as such in all contexts, by far the easiest thing to do is make it an integer.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@juliasilge
Comment options

Answer selected by davidjanmassgov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants