Description Usage Arguments Value Author(s) See Also
Constrained least-squares function. The constraint included ensures that the sum of the estimated coefficients is equal to 1 and the coefficients are positive.
1 | constrained_lm(y, X, tol = 1e-12)
|
y |
A column matrix with the y values |
X |
The design matrix of the problem |
tol |
A numeric value with the tolerance specified to avoid numerical instability during the solution of the least-squares problem. |
This function returns a numeric vector with the values of the estimated coeffcicients.
Oscar Garcia-Cabrejo, khaors@gmail.com
Other mixing functions: m3_mixing_model
,
mix_model
,
plot_m3_mixing_results
,
select_end_members
,
uncertainty_m3_mixing_model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.