ranksOfObserved {RVCompare}R Documentation

Get the ranks from the values of observed X_A and X_B. Ranks go from 0 to r_max, where r_max is the number of unique values in c(X_A_observed, X_B_observed)

Description

Get the ranks from the values of observed X_A and X_B. Ranks go from 0 to r_max, where r_max is the number of unique values in c(X_A_observed, X_B_observed)

Usage

ranksOfObserved(X_A_observed, X_B_observed, EPSILON = 1e-20)

Arguments

X_A_observed

array of the samples (real values) of X_A.

X_B_observed

array of the samples (real values) of X_B.

EPSILON

(optional, default value 1e-20) when will two values be different.

Value

a list with three fields: X_A_ranks, X_B_ranks and r_max (the number of unique values minus 1).


[Package RVCompare version 0.1.2 Index]