get_metric: Type of metric based on scaling measurement

Description Usage Arguments Details Value Warning Note

View source: R/get_metric.r

Description

Internal function not to be called by the user

Usage

1
  get_metric(scaling)

Arguments

scaling

list with measurement scale of each manifest variable

Details

Internal function. get_metric is called by plspm. It is used to decide what function apply for the iterative process of the PLS-PM algorithm.

Value

metric type of metric (metric data = TRUE / non-metric data = FALSE)

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

If scaling is NULL, apply get_weights(), otherwise apply get_weights_nonmetric()


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