Convert a normal distribution to a normal (gaussian) distribution with specified mu and sd
the uniformly distributed vector
the mean of the normal distribution to return
the SD of the normal distribution to return
the mean of x (calculated from x if not given)
the SD of x (calculated from x if not given)
a vector with a gaussian distribution
x <- rnorm(10000)
y <- norm2norm(x, 100, 10)
g <- ggplot2::ggplot() + ggplot2::geom_point(ggplot2::aes(x, y))
ggExtra::ggMarginal(g, type = "histogram")