Description Usage Arguments Value Examples
Solve the positively constrained least squares problem with 2 explanatory variables.
1 | pcls2(X, Y)
|
X |
a dataframe containing the explanatory variables (2 columns) |
Y |
a dataframe containing the response vector |
a list containing the optimal parameter vector and the vector of Lagrange multipliers
1 | results <- pcls2(X = data.frame(runif(3), runif(3)), Y = data.frame(1:3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.