View source: R/PermulationFuncs.R
adaptivePermulation | R Documentation |
Adaptively calculates permulation p-value for a single element
adaptivePermulation(
rer,
permulated_trees,
observed_stats,
alpha = 0.05,
mode = "binary"
)
rer |
a row matrix for the given element (e.g., a row from the matrix output from |
permulated_trees |
a list containing n sets of permulated trees (e.g., output from |
observed_stats |
computed statistics for the observed trait (e.g., output from |
alpha |
the significance level to control (default = 0.05) |
mode |
"binary" for binary permulations, "continuous" for continuous permulations (default = "binary") |
out data frame containing permPval (permulation p-value) and the corrected score (negative signifies deceleration, positive signifies acceleration)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.