Random generation for Gaussian distributions different at left and right
r2norm(n, mean = 0, sd_low = 1, sd_high = 1)
r2norm returns random numbers
number of observations.
vector of means
vector of standard deviations below the mean.
vector of standard deviations above the mean.
Marc Girondot marc.girondot@gmail.com
r2norm returns random numbers for Gaussian distributions different at left and right
Other Distributions:
cutter()
,
dSnbinom()
,
dbeta_new()
,
dcutter()
,
dggamma()
,
logLik.cutter()
,
plot.cutter()
,
print.cutter()
,
rcutter()
,
rmnorm()
,
rnbinom_new()
if (FALSE) {
n <- r2norm(1000, mean=25, sd_low=2, sd_high=10)
hist(n)
}
Run the code above in your browser using DataLab