Learn R Programming

PLEXI (version 1.0.0)

p_val_count: Calculate p.value for x given set of null values using counts

Description

Calculate p.value for x given set of null values using counts

Usage

p_val_count(x, null.values, alternative = "two.sided")

Value

p.value

Arguments

x

numeric value

null.values

a numeric vector of null distribution samples

alternative

alterative test including: "two.sided" [default], "greater", and "less"

Examples

Run this code
p.val = p_val_count(1, 1:100)

Run the code above in your browser using DataLab