Learn R Programming

radiant.basics (version 1.6.0)

plot.clt: Plot method for the Central Limit Theorem simulation

Description

Plot method for the Central Limit Theorem simulation

Usage

# S3 method for clt
plot(x, stat = "sum", bins = 15, ...)

Arguments

x

Return value from clt

stat

Statistic to use (sum or mean)

bins

Number of bins to use

...

further arguments passed to or from other methods

Details

See https://radiant-rstats.github.io/docs/basics/clt.html for an example in Radiant

Examples

Run this code
clt("Uniform", 100, 100, unif_min = 10, unif_max = 20) %>% plot()

Run the code above in your browser using DataLab