View source: R/samplingFunctions_d.R
get_d_samples | R Documentation |
Calculate a number of sample d-values (unbiased) based on a specified (infinite) population correlation.
get_d_samples(
pop.d = NA,
cell.n = NA,
number.of.samples = 10,
number.of.decimals = 3,
var.equal = TRUE,
alternative = "two.sided"
)
pop.d |
Population d-value |
cell.n |
Cell size for both cells for all samples. If you use two values (e.g., c(20, 40), these represent -3/+3 SD for variable sample sizes |
number.of.samples |
Number of samples to obtain |
number.of.decimals |
Number of decimals to report in returned data frame |
var.equal |
TRUE/FALSE indicate type of t-test to use |
alternative |
indicates type of alternative hypothesis (e.g., "two.sided") for t.test |
Data frame with sample d-values
get_d_samples(pop.d = .35, cell.n = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.