r2norm: Random generation for Gaussian distributions different at...

View source: R/r2norm.R

r2normR Documentation

Random generation for Gaussian distributions different at left and right

Description

Random generation for Gaussian distributions different at left and right

Usage

r2norm(n, mean = 0, sd_low = 1, sd_high = 1)

Arguments

n

number of observations.

mean

vector of means

sd_low

vector of standard deviations below the mean.

sd_high

vector of standard deviations above the mean.

Details

r2norm returns random numbers for Gaussian distributions different at left and right

Value

r2norm returns random numbers

Author(s)

Marc Girondot marc.girondot@gmail.com

See Also

Other Distributions: cutter(), dSnbinom(), dbeta_new(), dcutter(), dggamma(), logLik.cutter(), plot.cutter(), print.cutter(), rcutter(), rmnorm(), rnbinom_new()

Examples

## Not run: 
n <- r2norm(1000, mean=25, sd_low=2, sd_high=10)

hist(n)

## End(Not run)

HelpersMG documentation built on Sept. 12, 2024, 9:35 a.m.