get_nom_scale: Non-Metric Nominal Scale

Description Usage Arguments Details Value Warning Note

View source: R/get_nom_scale.r

Description

Internal function not to be called by the user

Usage

1
  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


gastonstat/plspm2 documentation built on May 16, 2019, 5:47 p.m.