get_ord_scale: Non-Metric Ordinal Scale

View source: R/get_ord_scale.R

get_ord_scaleR Documentation

Non-Metric Ordinal Scale

Description

Internal function not to be called by the user

Usage

  get_ord_scale(y, x, Xdummy)

Arguments

y

vector of values

x

vector of the natural number series 1, 2, ..., p obtained by means of the function 'get_rank'

Xdummy

dummy matrix corresponding to x (obtained with get_dummy)

Details

Internal function. get_ord_scale is called by plspm.

Value

scaled matrix

Warning

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

Note

This function replaces the elements of x by the the means of y conditioned to the levels of x


plspm documentation built on June 22, 2024, 11:29 a.m.