normal.simu.plot: Histogram and Q-Q plot of simulated Normal distribution

Description Usage Arguments Value Examples

Description

Histogram and Q-Q plot of simulated Normal distribution

Usage

1
normal.simu.plot(n, mean=0, sd=1, times, ylim = NULL, qqplot = FALSE)

Arguments

n

number of trials in one simulation

mean

vector of means

sd

vector of standard deviations

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

Examples

1
normal.simu.plot(n = 5, mean = 3, sd =2,  times = 100)

Example output



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