Nothing
knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
This vignette demonstrates how to use the {samplezoo} package to generate datasets of varying sizes (small, medium, and large) with variables from multiple probability distributions.
Each dataset contains:
Variables/columns from common distributions such as Normal, Binomial, Poisson, and others.
Adjustable sample sizes to meet needs.
library(samplezoo)
data_small <- samplezoo("small") head(data_small)
data_medium <- samplezoo("medium") head(data_medium)
data_large <- samplezoo("large") head(data_large)
To ensure reproducibility and introduce controlled variation in your dataset, use set.seed() before generating random data.
Reproducibility
set.seed(123) data_large <- samplezoo("large") head(data_large)
set.seed(123) data_large <- samplezoo("large") head(data_large)
Variation
set.seed(123) data_large <- samplezoo("large") head(data_large)
set.seed(456) data_large <- samplezoo("large") head(data_large)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.