samplezoo | R Documentation |
Generate Samples with a Variety of Probability Distributions
samplezoo(name)
name |
A character string specifying the dataset size. The three dataset sizes are:
|
The distributions included in each data frame are:
norm
: Normal distribution with mean and standard deviation parameters.
norm_2
: Slight variation of the normal distribution.
norm_3
: Another slight variation of the normal distribution.
bern
: Bernoulli distribution.
neg
: Negative binomial distribution.
pois
: Poisson distribution.
exp
: Exponential distribution.
unif
: Uniform distribution.
beta
: Beta distribution.
gamma
: Gamma distribution.
chi_sq
: Chi-squared distribution.
t_dist
: Student's t-distribution.
f_dist
: F-distribution.
A dataset containing variables with common distributions.
small_data <- samplezoo("small")
medium_data <- samplezoo("medium")
large_data <- samplezoo("large")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.