.quantileCorrelation {waddR}R Documentation

Compute the quantile-quantile correlation

Description

Computes the quantile-quantile correlation of two samples x and y, using the quantile type 1 implementation in R and the Pearson correlation.

Usage

.quantileCorrelation(x, y, pr = NULL)

Arguments

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

Value

quantile-quantile correlation of x and y


[Package waddR version 1.7.1 Index]