jdbeta: jdbeta

Description Usage Arguments Value Examples

Description

This function returns the joint density of two beta random variables defined on a square.

Usage

1
jdbeta(x, y, shape1, shape2)

Arguments

x, y

vector of quantiles

shape1, shape2

non-negative parameters of the Beta distribution.

Value

numeric vector of joint densities

Examples

1
2
3
jdbeta(x = 0.5, y = 0.5, shape1 = 2, shape2 = 2)
jdbeta(x = 0.2, y = 0.2, shape1 = 2, shape2 = 5)
jdbeta(x = runif(3), y = runif(3), shape1 = 2, shape2 = 2)

schuelkem/samplr documentation built on May 6, 2019, 7:19 a.m.