calc_emp_p: Calculate empirical p-values

View source: R/calc_emp_p.R

calc_emp_pR Documentation

Calculate empirical p-values

Description

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

Usage

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 May 29, 2024, 5:11 a.m.