.quantileCorrelation {waddR} | R Documentation |
Computes the quantile-quantile correlation of two samples x and y, using the quantile type 1 implementation in R and the Pearson correlation.
.quantileCorrelation(x, y, pr = NULL)
x |
numeric vector |
y |
numeric vector |
pr |
levels at which the quantiles of x and y are computed; by default, 1000 equidistant quantiles at levels \frac{k-0.5}{1000}, where k=1,…,1000, are used |
quantile-quantile correlation of x and y