View source: R/data-generation.R
| step_fun | R Documentation |
A functional that takes in cut values and weights representing selection probabilities for different intervals of p-values and returns a function that can be used to censor meta-analytic datasets according to the univariate step-function model.
step_fun(cut_vals = 0.025, weights = 1, renormalize = TRUE)
cut_vals |
numeric vector of one or more values specifying the threshold (or step) where the selection probability changes. |
weights |
numeric vector of one or more values specifying the
selection probabilities for different intervals of p-values; the intervals
are determined by the |
renormalize |
logical indicating whether to normalize the step function
to have a maximum value of 1, with a default value of |
A function that can be used to censor a meta-analytic dataset based on the univariate step-function model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.