Learn R Programming

RCASPAR (version 1.18.0)

pltgamma: Plotting the gamma distribution of shape parameter

Description

This function allows the user to visualize the shape of the gamma distribution used as a prior on the baseline hazards in the functions ending with "_BLH"

Usage

pltgamma(a, b)

Arguments

a
Is the shape parameter for the gamma distribution.
b
Is the scale parameter for the gamma distribution

Value

A plot of the gamma distribution with the given parameters.

See Also

pltprior

Examples

Run this code
pltgamma(a=2,b=2)

Run the code above in your browser using DataLab