Compute coefficients

Compute coefficients at a given level of penalty

1 | ```
computeCoefficients(x, lambda, mode = "fraction")
``` |

`x` |
a LarsParth object |

`lambda` |
If mode ="norm", lambda represents the l1-norm of the coefficients with which we want to predict. If mode="fraction", lambda represents the ratio (l1-norm of the coefficientswith which we want to predict)/(l1-norm maximal of the LarsPath object). |

`mode` |
"fraction" or "norm" or "lambda". |

A list containing

- variable
Index of non-zeros coefficients.

- coefficient
non-zeros coefficients.

Quentin Grimonprez

1 2 3 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.