powered by
to.uniform(ref, val = NA)
a <- rnorm(100) hist(a) b <- to.uniform(a) hist(b) c <- to.uniform(ref=a, val=c(-0.5,0,0.5))
Run the code above in your browser using DataLab