rbetaBetween: Generate random beta variates between 2 values and a mean

Description Usage Arguments

View source: R/helpers.R

Description

Generate random beta variates between 2 values and a mean

Usage

1
rbetaBetween(n, l, u, m, shape1, shape2 = NULL)

Arguments

n

number of observations. If length(n) > 1, the length is taken to be the number required.

l

scalar numeric for the lower bound

u

scalar numeric for the upper bound

m

scalar numeric for the mean

shape1

non-negative parameters of the Beta distribution.

shape2

If provided, passed to rbeta. If not, m must be (i.e., the mean)


PredictiveEcology/fireSenseUtils documentation built on Sept. 18, 2020, 1:58 a.m.