visualize.gamma: Visualize Gamma Distribution

Description Usage Arguments Author(s) See Also Examples

Description

Generates a plot of the Gamma distribution with user specified parameters.

Usage

1
visualize.gamma(stat = 1, alpha = 1, theta = 1, section = "lower")

Arguments

stat

a statistic to obtain the probability from. When using the "bounded" condition, you must supply the parameter as stat = c(lower_bound, upper_bound). Otherwise, a simple stat = desired_point will suffice.

alpha

alpha is considered to be shape by R's implementation of the gamma distribution. alpha must be greater than 0.

theta

theta is considered to be rate by R's implementation of the gamma distribution. theta must be greater than 0.

section

Select how you want the statistic(s) evaluated via section= either "lower","bounded", "upper", or"tails".

Author(s)

James Balamuta

See Also

visualize.it, dgamma.

Examples

1
2
3
4
5
6
7
8
#Evaluate lower tail.
visualize.gamma(stat = 1, alpha = 3, theta = 1, section = "lower") 

#Evaluate bounded section.
visualize.gamma(stat = c(0.75,1), alpha = 3, theta = 1, section = "bounded") 

#Evaluate upper tail.
visualize.gamma(stat = 1, alpha = 3, theta = 1, section = "upper") 


Search within the visualize package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.