powered by
prescale scales data to be in the range {0,1}, as a preparation for simulation.
prescale
prescale(xv)
unscaled data vector
scaled data vector
dpmixsim, readsliceimg
dpmixsim
readsliceimg
# NOT RUN { data("galaxy") x0 <- galaxy$speed x <- prescale(x0) print(range(x)) # }
Run the code above in your browser using DataLab