euclw: euclw

Description Usage Arguments Value

View source: R/mvTargetOpt.R

Description

Takes a matrix/data.frame x with each coloumn having the scores corresponding to a principal component. Computes weights as needed in 1d regression models, i.e. returns for each of the 1d-projections on the PC the Euclidean distances from the n-dimensional point in the n-space.

Usage

1
euclw(x, normalize = T, sto = T)

Arguments

x

matrix, data.frame

normalize

boolean, TRUE for normalized weights.

sto

boolean, if TRUE ignore higher principal component coordinates.

Value

matrix


amaendle/mvTargetOpt documentation built on June 12, 2020, 5:57 p.m.