sample_size_freq | R Documentation |
Checks if a vector of possible sample sizes and relative frequencies create integer absolute frequencies.
sample_size_freq(n, f, which = NA)
dnsizefreq(n, f, which = NA)
n |
numeric: vector of sample size(s) to check |
f |
numeric: vector of relative frequencies |
which |
numeric: if several |
One sample size.
f <- ddiscrete(runif(5), unit=100)
sample_size_freq(seq(10, 200, 1), f)
sample_size_freq(seq(10, 200, 1), f, which=200)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.