calc_emp_p {cape}R 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


[Package cape version 3.1.0 Index]