get_nom_scale: Non-Metric Nominal Scale

View source: R/get_nom_scale.R

get_nom_scaleR Documentation

Non-Metric Nominal Scale

Description

Internal function not to be called by the user

Usage

  get_nom_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 myRank

Xdummy

dummy matrix corresponding to x

Details

Internal function. get_nom_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.