ranksOfObserved: Get the ranks from the values of observed X_A and X_B. Ranks...

View source: R/RVCompare.R

ranksOfObservedR 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 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 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 values minus 1).


RVCompare documentation built on Aug. 21, 2023, 5:13 p.m.