View source: R/distr-pvalues.R
calc_pvalue | R Documentation |
Calculate p-values from distr
object
calc_pvalue(x, distr = NULL)
x |
A |
distr |
A |
## Not run:
radf_psy1 <- radf(sim_psy1(100))
calc_pvalue(radf_psy1)
# Using the Wild-Bootstrapped
wb_psy1 <- radf_wb_distr(sim_psy1(100))
calc_pvalue(radf_psy1, wb_psy1)
sb_psy1 <- radf_sb_distr(sim_data)
calc_pvalue(radf(sim_data), sb_psy1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.