Calculates an empirical p-value based on the data
This function takes a vector of statistics and calculates the empirical p-value, that is, how many fall on the other side of zero. It calculates a two-tailed p-value.
a data vector to operate on
Logical whether to remove NA values. Defaults to
a named vector with the number of values falling at or below zero, above zero, and the empirical p-value.
Joshua F. Wiley <firstname.lastname@example.org>
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.