beta.simu.plot: Histogram and Q-Q plot of simulated Beta distribution

Description Usage Arguments Value Examples

Description

Histogram and Q-Q plot of simulated Beta distribution

Usage

1
beta.simu.plot(n, shape1, shape2, times, ylim = NULL, qqplot = FALSE)

Arguments

n

number of trials in one simulation

shape1

non-negative parameters of the Beta distribution

shape2

non-negative parameters of the Beta distribution

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 Beta distribution, red curve represents theoretical density

Examples

1
beta.simu.plot(n = 5, shape1 = 3, shape2 = 1, times = 100)

Example output



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