p_val_rank {PLEXI} | R Documentation |
Calculate p.value for x given a set of null values using ranks
p_val_rank(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_rank(1, 1:100)