create a matrix with all estimated coefficients from the output of `HDlars`

or `EMlasso`

functions.

1 | ```
listToMatrix(x, row = c("covariates", "lambda"))
``` |

`x` |
a |

`row` |
if covariates, covariates are in row |

A sparse matrix containing the values of estimated coefficients for all penalty parameter and all covariates

`HDlars`

`EMlasso`

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

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