R/radiant.R
round_df.Rd
Round doubles in a data.frame to a specified number of decimal places
round_df(tbl, dec = 3)
tbl | Data frame |
---|---|
dec | Number of decimals to show |
Data frame with rounded doubles
#> x y z #> 1 a 1 0.0 #> 2 b 2 3.1