Description Usage Arguments Value Examples
This function creates a summary stats for population, samples and parameter(s) of interest.
1 | stat_summary(population, samples, parameter)
|
population |
The virtual population |
samples |
The drawed samples |
parameter |
A string vector or a single string of parameter(s) of interest |
a tibble summary stats
1 2 3 | pop <- generate_virtual_pop(100000, "Height", rexp, 5)
samples <- draw_samples(pop, 1, c(1))
stat_summary(pop, samples, c('mean', 'sd'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.