Learn R Programming

mistr (version 0.0.6)

betadist: Creates an Object Representing Beta Distribution

Description

The function creates an object which represents the beta distribution.

Usage

betadist(shape1 = 2, shape2 = 2)

Value

Object of class betadist.

Arguments

shape1

shape parameter, default: 2.

shape2

shape parameter, default: 2.

Details

See Beta.

See Also

Examples

Run this code
B <- betadist(2, 2)
d(B, c(2, 3, 4, NA))
r(B, 5)

Run the code above in your browser using DataLab