Learn R Programming

mistr (version 0.0.2)

betadist: Creates an Object Representing Beta Distribution

Description

The function creates an object which represents the beta distribution.

Usage

betadist(shape1 = 2, shape2 = 2)

Arguments

shape1

shape parameter, default: 2.

shape2

shape parameter, default: 2.

Value

Object of class betadist.

Details

See Beta.

See Also

Beta

Examples

Run this code
# NOT RUN {
B <- betadist(2, 2)
d(B, c(2, 3, 4, NA))
r(B, 5)
# }

Run the code above in your browser using DataLab