generate_random_p_values {corrmeta}R Documentation

Generates a list of random p-values with mixed significant and insignificant values

Description

Generates a list of random p-values with mixed significant and insignificant values

Usage

generate_random_p_values(n, ratio_significant)

Arguments

n

number of samples

ratio_significant

fraction of p-values to be significant

Value

list of n randomly generated significant and insignificant p-values


[Package corrmeta version 1.0.0 Index]