View source: R/RegressHaplo_util.R
penalized_regression_parameters.RegressHaplo | R Documentation |
Returns the matrices and vectors associated with the regression optimization
penalized_regression_parameters.RegressHaplo(df, h, position_fit = F)
df |
read table |
h |
haplotype matrix |
The regression solves min |y - P*pi|^2 + rho pi^T*M*pi subject to: sum pi_i = 1, pi_i ge 0.
the matrix P and the vector y as a list. M is implicit and so not computed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.