plspm (version 0.5.1)

get_rank: Rank of a non-metric variable

Description

Internal function not to be called by the user

Usage

get_rank(X)

Value

vector with the corresponding rank for each category

Arguments

X

an ordinal or nominal manifest variable to be ranked

Warning

Do NOT use this function unless you are ME, a package developer, or a jedi user who really knows what is doing (seriously!)

Details

Internal function. get_rank is called by get_treated_data and get_weights.