dot-rbeta: Generate values from a beta distribution, given a mean and...

.rbetaR Documentation

Generate values from a beta distribution, given a mean and standard deviation of the distribution

Description

Generate values from a beta distribution, given a mean and standard deviation of the distribution

Usage

.rbeta(n, mean, sd)

Arguments

n

Number of values to generate

mean

Mean of the distribution

sd

Standard deviation of the distribution

Value

A vector of simulated values from a distribution bounded at 0 and 1

Examples

## Not run: 
.rbeta(n = 10, mean = .8, sd, .2)

## End(Not run)

psychmeta documentation built on Aug. 26, 2022, 5:14 p.m.