calc_emp_p: Calculate empirical p-values

Description Usage Arguments Value

View source: R/calc_emp_p.R

Description

This function uses ecdf to calculate empirical p values given a null distribution and an observed distribution

Usage

1
calc_emp_p(obs_dist, null_dist)

Arguments

obs_dist

The observed distribution

null_dist

The null distribution

Value

An empirical p value for each observed value


cape documentation built on Feb. 10, 2021, 5:06 p.m.