sample.func: Empirical p-value of Identity Score Calculation

View source: R/EmpiricalPValueCalculation.R

sample.funcR Documentation

Empirical p-value of Identity Score Calculation

Description

This function resamples from a sample dataset and returns an empirical p-value of identity score

Usage

sample.func(dens.x, curr.val, prob, n = 1000)

Arguments

dens.x

The background dataset that we compare the identity score of our sample with

curr.val

The identity score of the sample dataset to be evaluated its significance

n

The number of times of resampling. The default is n=1000


morris-lab/Capybara documentation built on June 13, 2022, 10:33 p.m.