unif.simu.plot {clttools}R Documentation

Histogram and Q-Q plot of simulated Uniform distribution

Description

Histogram and Q-Q plot of simulated Uniform distribution

Usage

unif.simu.plot(n, min = 0, max = 1, times, ylim = NULL, qqplot = FALSE)

Arguments

n

number of trials in one simulation

min

possible minimum value of Uniform distribution. Must be finite

max

possible maximum value of Uniform distribution. Must be finite

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

Examples

unif.simu.plot(n = 5, min = 3, max = 5, times = 100)

[Package clttools version 1.3 Index]