get_metric: Type of metric based on scaling measurement

View source: R/get_metric.R

get_metricR Documentation

Type of metric based on scaling measurement

Description

Internal function not to be called by the user

Usage

  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()


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