pOne {geoCount} | R Documentation |
This function calculates one-side p-value(s) for observed distance(s) with respect to the samples of baseline distances.
pOne(d.obs, d.base)
d.obs |
a value (or a vector) which indicates the distance for observed data |
d.base |
a vector (or a matrix) which indicates the samples of baseline distances |
A p-value (or a vector of p-values).
Liang Jing ljing918@gmail.com
e2dist
, baseline.dist
, pRPS
, plot_pRPS
.
## Not run: # For single value pOne(2, rnorm(10000)) # Visualize with plot_pRPS() plot_pRPS(2, rnorm(10000), nm="d") # For vector pOne(1:3, matrix(rnorm(30000),,3)) ## End(Not run)