p_val_norm {PLEXI} | R Documentation |
Calculate p.value for x given set of null values using a Gaussian null pdf
p_val_norm(x, null.values, alternative = "two.sided")
x |
numeric value |
null.values |
a numeric vector of null distribution samples |
alternative |
alterative test including: |
p.value
p.val = p_val_norm(1, rnorm(1000,0,1))