Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
R
how to round all numeric column types in r
pikrut
Programming language:
R
2021-03-09 07:25:38
0
Q:
how to round all numeric column types in r
FAISAL ISMAIL
Code:
R
2021-09-25 21:16:36
library(dplyr) df %>% mutate_if(
is
.numeric, round)
0
Tags
type
types
how
Related
how to summarise data but keep columns R
r number of columns or rows of result is not a multiple of vector length
convert all numeric columns to percentages R
New to Communities?
Join the community