View source: R/samplingFunction_means.R
get_M_samples | R Documentation |
Calculate a number of sample d-values (unbiased) based on a specified (infinite) population correlation.
get_M_samples(
pop.data = NULL,
pop.column.name = NULL,
pop.M = NA,
pop.SD = NA,
n = 10,
number.of.samples = 10,
number.of.decimals = 2,
expanded.output = FALSE
)
pop.data |
Data to use for population (optional) |
pop.column.name |
Column name from data to use for sampling (optional) |
pop.M |
Population mean |
pop.SD |
Population SD |
n |
Cell size for both cells for all samples. If you use n, do not use n.min or n.max. |
number.of.samples |
Number of samples to obtain |
number.of.decimals |
Number of decimals to report in returned data frame |
Data frame with desired properties
get_M_samples(pop.M = 100, pop.SD = 15, n = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.