Learn R Programming

pseudorank (version 1.0.4)

recursiveCalculation: Calculation of Pseudo-Ranks

Description

Calculation of (mid) pseudo-ranks of a sample. In case of ties (i.e. equal values), the average of min pseudo-rank and max-pseudor-rank are taken (similar to rank with ties.method="average").

Usage

recursiveCalculation(data, group, na.last, ties.method)

Value

Returns a numerical vector containing the pseudo-ranks

Arguments

data

numerical vector

group

vector coding for the groups