View source: R/distributionParameters.R
distributionParams | R Documentation |
Computes approximate distribution parameters for the binomial, hypergeometric, Poisson, Exponential and normal distribution for a given mean (and standard deviation). With the sample and the population size the computation can be influenced.
distributionParams(mean, sd, n = 30, N = 60)
mean |
numeric: mean |
sd |
numeric: standard deviation (only used for the normal distribution) |
n |
integer: sample size (default: |
N |
integer: population size (default: |
a list of parameters for each distribution
# Compute approx. paramaters for a binomial distribution distributionParams(mean=30*0.5, sd=sqrt(30*0.5*0.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.