Learn R Programming

BayesianHybridDesign (version 0.1.0)

support: Support of Distributions

Description

Returns the support of a distribution. This function is adapted from the 'SAMprior' package (v1.1.1) to support the runSAM function.

Usage

mixlink(mix, x)

mixinvlink(mix, x)

mixJinv_orig(mix, x)

mixlJinv_orig(mix, x)

mixlJinv_link(mix, l)

is.dlink(x)

is.dlink_identity(x)

is.mixidentity_link(mix, l)

support(mix)

# S3 method for default support(mix)

# S3 method for betaMix support(mix)

# S3 method for gammaMix support(mix)

# S3 method for normMix support(mix)

Value

A numeric vector of length 2 containing the lower and upper bounds of the support for the specified mixture distribution. If the mixture type is unknown (default method), it returns the character string "Unknown mixture".

Arguments

mix

Mixture distribution.

x

Values to be transformed.

l

Link values.