project_vector_mahalanobis: A function for projecting a vector such that it will satisfy...

Description Usage Arguments

View source: R/newMLEfunction.R

Description

A function for projecting a vector such that it will satisfy a linear constraint based on a mahalanobis metric

Usage

1
2
project_vector_mahalanobis(x, target, selected, mean_weights, mahal_const,
  mahal_vec)

Arguments

x

the vector to be projected

target

what the linear function of x should equal after the projection

selected

which coordinates of x were selected

mean_weights

we require that sum(x * mean_weights) will equal target


ammeir2/selectiveROI documentation built on March 16, 2020, 1:30 a.m.