rbeta2: The reparameterized beta distribution

View source: R/beta2.R

rbeta2R Documentation

The reparameterized beta distribution

Description

The reparameterized beta distribution. This is a wrapper of the usual beta functions.

Usage

rbeta2(n, mean, sd, ncp = 0, cond.warning = TRUE)

Arguments

mean

"numeric" The mean value of beta distribution.

sd

"numeric" The standard deviation of beta distribution.

cond.warning

"logical" If warning should be printed if NA produced.

Details

See the help for general information of beta distribution. Note that the mean and standard deviation should be in (0, 1) and (0, mean(1-mean)), respectively.

Value

See the return of beta distribution.

Note

Created: Tue Apr 10 19:15:06 CEST 2012; Current: Tue Apr 10 19:15:11 CEST 2012.

Author(s)

Feng Li, Department of Statistics, Stockholm University, Sweden.

References

Li, 2012


thiyangt/fformpp documentation built on Jan. 5, 2024, 5:44 a.m.