Package 'samplezoo'

Title: Generate Samples with a Variety of Probability Distributions
Description: Simplifies the process of generating samples from a variety of probability distributions, allowing users to quickly create data frames for demonstrations, troubleshooting, or teaching purposes. Data is available in multiple sizes—small, medium, and large. For more information, refer to the package documentation.
Authors: Nicholas Vietto [aut, cre, cph]
Maintainer: Nicholas Vietto <[email protected]>
License: MIT + file LICENSE
Version: 1.1.1
Built: 2024-12-02 18:53:51 UTC
Source: CRAN

Help Index


Generate Samples with a Variety of Probability Distributions

Description

Generate Samples with a Variety of Probability Distributions

Usage

samplezoo(name)

Arguments

name

A character string specifying the dataset size. The three dataset sizes are:

  • small: Generates a data frame with 100 samples per distribution.

  • medium: Generates a data frame with 1,000 samples per distribution.

  • large: Generates a data frame with 10,000 samples per distribution.

Details

The distributions included in each data frame are:

  • norm: Normal distribution with mean and standard deviation parameters.

  • norm2: Slight variation of the normal distribution.

  • norm3: Another slight variation of the normal distribution.

  • binom: Binomial (Bernoulli) distribution.

  • neg: Negative binomial distribution.

  • pois: Poisson distribution.

  • exp: Exponential distribution.

  • unif: Uniform distribution.

  • beta: Beta distribution.

  • gamma: Gamma distribution.

  • chisq: Chi-squared distribution.

  • t_dist: Student's t-distribution.

Value

A dataset containing variables with common distributions.

Examples

small_data <- samplezoo("small")
medium_data <- samplezoo("medium")
large_data <- samplezoo("large")