% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{random_round} \alias{random_round} \title{Add random noise to a variable before rounding} \usage{ random_round(x) } \arguments{ \item{x}{a numeric we want to round} } \value{ rounded values } \description{ Add random noise to a variable before rounding } \details{ Credit to Jens von Bergmann for this algo https://github.com/mountainMath/dotdensity/blob/master/R/dot-density.R } \examples{ random_round(1.93) }