gamm.simu.plot: Histogram and Q-Q plot of simulated Gamma distribution

Description Usage Arguments Value Examples

Description

Histogram and Q-Q plot of simulated Gamma distribution

Usage

1
gamm.simu.plot(n, shape, rate = 1, scale = 1/rate, times, ylim = NULL, qqplot = FALSE)

Arguments

n

number of trials in one simulation

shape

shape parameter

rate

vector of rates

scale

scale parameter

times

number of simulations

ylim

range of y-axis

qqplot

an argument to output Q-Q plot or not, can be TRUE or FALSE

Value

Histogram and Q-Q plot of simulated Gamma distribution, red curve represents theoretical density

Examples

1
gamm.simu.plot(n = 5, shape = 3, rate = 1, times = 100)

clttools documentation built on May 2, 2019, 9:17 a.m.