View source: R/newMLEfunction.R
A function for projecting a vector such that it will satisfy a linear constraint based on a mahalanobis metric
1 2 | project_vector_mahalanobis(x, target, selected, mean_weights, mahal_const,
mahal_vec)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.