Description Usage Arguments Value
View source: R/sample_means_ns.R
Takes a vector and from it takes a random sample of size n (each value in ns) then calculates sample mean and repeats it reps times
1 | sample_means_ns(vec, reps, ns)
|
vec |
A vector |
reps |
A number indicating the number of times to repeat sample mean process |
ns |
A vector of numbers to represent the size of the sample |
A data frame with two columns, one for the sample mean and one for the associated sample size.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.