Learn R Programming

exuber (version 0.3.0)

calc_pvalue: Calculate p-values

Description

Calculate p-values

Usage

calc_pvalue(x, dist = NULL)

Arguments

x

An 'radf' object

dist

Which type of distribution to use to calculate the p-values

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
radf_psy1 <- radf(sim_psy1(100))
calc_pvalue(radf_psy1)

# Using the Wild-Bootstrapped
wb_psy1 <- wb_dist(sim_psy1(100))
calc_pvalue(radf_psy1, wb_psy1)

# }

Run the code above in your browser using DataLab